Skip to content

Commit f180ff5

Browse files
authored
stabilize example/pythonlib/testing/2-test-deps (#4466)
Seems sometimes the `ok` gets printed on a separate line (e.g. here https://github.com/com-lihaoyi/mill/actions/runs/13125384248/job/36620838982) so adjust the assert to accept that
1 parent 31a8b3c commit f180ff5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

example/pythonlib/testing/2-test-deps/build.mill

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,15 @@ object bar extends PythonModule {
4949

5050
> ./mill foo.test
5151
...Using BarTestUtils.bar_assert_equals...
52-
...test_equal_string (test.TestScript...)...ok...
52+
...test_equal_string (test.TestScript...)...
53+
...ok...
5354
...Ran 1 test...
5455
...OK...
5556

5657
> ./mill bar.test
5758
...Using BarTestUtils.bar_assert_equals...
58-
...test_mean (test.TestScript...)...ok...
59+
...test_mean (test.TestScript...)...
60+
...ok...
5961
...Ran 1 test...
6062
...OK...
6163

0 commit comments

Comments
 (0)