Skip to content

Commit 9e98852

Browse files
committed
test harness: Output the time information to the same place the test name was printed to.
1 parent 3e7745e commit 9e98852

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test-perfs.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ run_test_internal() {
7373

7474
# Measure the time taken by _zsh_highlight.
7575
TIMEFMT="%*Es"
76-
time (BUFFER="$BUFFER" && _zsh_highlight)
76+
{ time (BUFFER="$BUFFER" && _zsh_highlight) } 2>&1
7777
}
7878

7979
run_test() {

0 commit comments

Comments
 (0)