test harness: Output the time information to the same place the test name was printed to.

This commit is contained in:
Daniel Shahaf 2020-03-19 19:17:41 +00:00
parent 3e7745ef30
commit 9e9885253a

View File

@ -73,7 +73,7 @@ run_test_internal() {
# Measure the time taken by _zsh_highlight.
TIMEFMT="%*Es"
time (BUFFER="$BUFFER" && _zsh_highlight)
{ time (BUFFER="$BUFFER" && _zsh_highlight) } 2>&1
}
run_test() {