Skip to content

Commit

Permalink
test/signal/test-signalhandler.py: adjusted line number in `test_asse…
Browse files Browse the repository at this point in the history
…rt()`
  • Loading branch information
firewave committed Mar 1, 2024
1 parent 3427f57 commit 42bf613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/signal/test-signalhandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def test_assert():
if sys.platform == "darwin":
assert stderr.startswith("Assertion failed: (false), function my_assert, file test-signalhandler.cpp, line "), stderr
else:
assert stderr.endswith("test-signalhandler.cpp:32: void my_assert(): Assertion `false' failed.\n"), stderr
assert stderr.endswith("test-signalhandler.cpp:33: void my_assert(): Assertion `false' failed.\n"), stderr
lines = stdout.splitlines()
assert lines[0] == 'Internal error: cppcheck received signal SIGABRT - abort or assertion'
# no stacktrace of MacOs
Expand Down

0 comments on commit 42bf613

Please sign in to comment.