Fix issue with differ print
Tests / Run-Tests (push) Successful in 3s Details
Benchmarks / Run-Benchmarks (push) Successful in 37s Details

main
drunkendog 2023-09-26 17:41:50 +01:00
parent d62a817ea6
commit 1941de0ded
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ for file_name in glob.glob("*.c", recursive=False):
total_tests += 1
passed_tests += test_passed_int
print(f"\u001b[{31 + test_passed_int}m({x_split[0]})\u001b[0m")
if not passed_tests:
if not test_passed_int:
[print(x) for x in difflib.Differ().compare(x_split[1].splitlines(), return_data.splitlines())]
else:
[print(x) for x in return_data.splitlines()]