Skip to content

Commit

Permalink
Add debugging information when test fails
Browse files Browse the repository at this point in the history
  • Loading branch information
tristan0x authored and renefritze committed Jul 19, 2022
1 parent 4339392 commit 49d93aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_executable.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ def test_include_iostream():
with open(compilation_unit, "w") as ostr:
ostr.write("#include <iostream>\n")
try:
assert clang_tidy._run("clang-tidy", compilation_unit) == 0
assert clang_tidy._run("clang-tidy", "--extra-arg=-v", compilation_unit) == 0
finally:
os.remove(compilation_unit)

0 comments on commit 49d93aa

Please sign in to comment.