Skip to content

Commit cd4e41d

Browse files
committed
Fix
1 parent 8a3abe4 commit cd4e41d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/cli/whole-program_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ def test_ctu_odr_config():
350350
ret, stdout, stderr = cppcheck(args, cwd=__script_dir)
351351
lines = stderr.splitlines()
352352
assert lines == [
353-
"whole-program{}odr4.cpp:6:1: error: The one definition rule is violated, different classes/structs have the same name 'S' [ctuOneDefinitionRuleViolation]".format(os.path.sep)
353+
"whole-program{}odr4.cpp:2:1: error: The one definition rule is violated, different classes/structs have the same name 'S' [ctuOneDefinitionRuleViolation]".format(os.path.sep)
354354
]
355355
assert stdout == ''
356356
assert ret == 1, stdout

0 commit comments

Comments
 (0)