Skip to content

Commit 859cbef

Browse files
committed
test runner: refresh display before running test
This makes it so that when a test fails quickly, and writes output, it will do so after the test name is printed.
1 parent 16a91e6 commit 859cbef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/std/special/test_runner.zig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ pub fn main() anyerror!void {
1515
for (test_fn_list) |test_fn, i| {
1616
var test_node = root_node.start(test_fn.name, null);
1717
test_node.activate();
18+
progress.refresh();
1819
if (test_fn.func()) |_| {
1920
ok_count += 1;
2021
test_node.end();

0 commit comments

Comments
 (0)