Skip to content

Commit 537ca01

Browse files
committed
fix one test
1 parent 3a6e481 commit 537ca01

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/test_instrument_all_and_run.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -356,9 +356,7 @@ def test_sort():
356356
assert test_results[1].runtime > 0
357357
assert test_results[1].did_pass
358358
assert test_results[1].return_value == ([0, 1, 2, 3, 4, 5],)
359-
out_str = (
360-
"""codeflash stdout : BubbleSorter.sorter() called\n\n\ncodeflash stdout : BubbleSorter.sorter() called"""
361-
)
359+
out_str = """codeflash stdout : BubbleSorter.sorter() called\n"""
362360
assert test_results[1].stdout == out_str
363361
assert compare_test_results(test_results, test_results)
364362
assert test_results[2].id.function_getting_tested == "BubbleSorter.__init__"
@@ -376,6 +374,7 @@ def test_sort():
376374
)
377375
assert test_results[3].runtime > 0
378376
assert test_results[3].did_pass
377+
assert test_results[3].stdout == """codeflash stdout : BubbleSorter.sorter() called\n"""
379378

380379
results2, _ = func_optimizer.run_and_parse_tests(
381380
testing_type=TestingMode.BEHAVIOR,

0 commit comments

Comments
 (0)