Skip to content

Commit 1935a67

Browse files
committed
missing test
1 parent 853ab67 commit 1935a67

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

tests/test_instrument_tests.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,8 +1241,15 @@ def test_sort():
12411241
assert test_results[0].runtime > 0
12421242
assert test_results[0].did_pass
12431243
assert test_results[0].return_value is None
1244-
assert "codeflash stdout: Sorting list" in test_results[0].stdout
1245-
assert "result: [0.0, 1.0, 2.0, 3.0, 4.0, 5.0]" in test_results[0].stdout
1244+
out_str = """codeflash stdout: Sorting list
1245+
result: [0, 1, 2, 3, 4, 5]
1246+
1247+
codeflash stdout: Sorting list
1248+
result: [0.0, 1.0, 2.0, 3.0, 4.0, 5.0]
1249+
1250+
codeflash stdout: Sorting list
1251+
result: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49]"""
1252+
assert test_results[1].stdout == out_str
12461253
assert test_results[1].id.function_getting_tested == "sorter"
12471254
assert test_results[1].id.iteration_id == "2_2_1"
12481255
assert test_results[1].id.test_class_name is None

0 commit comments

Comments
 (0)