try to make test/cli happy
This commit is contained in:
parent
6de91d6386
commit
aa055fe430
|
@ -26,9 +26,6 @@ def test_unmatched_suppression_path_with_extra_stuf():
|
||||||
assert 'Unmatched suppression: some_warning_id' in stderr
|
assert 'Unmatched suppression: some_warning_id' in stderr
|
||||||
|
|
||||||
def test_backwards_compatibility():
|
def test_backwards_compatibility():
|
||||||
ret, stdout, stderr = cppcheck(['--enable=unusedFunction', 'proj-inline-suppress/3.cpp'])
|
|
||||||
assert len(stderr) > 0
|
|
||||||
|
|
||||||
ret, stdout, stderr = cppcheck(['--inline-suppr', '--enable=unusedFunction', 'proj-inline-suppress/3.cpp'])
|
ret, stdout, stderr = cppcheck(['--inline-suppr', '--enable=unusedFunction', 'proj-inline-suppress/3.cpp'])
|
||||||
assert ret == 0
|
assert ret == 0
|
||||||
assert stderr == ''
|
assert stderr == ''
|
||||||
|
|
Loading…
Reference in New Issue