From 9e9885253adce1e7a4c77d56d6cc4f3fc24986b9 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Thu, 19 Mar 2020 19:17:41 +0000 Subject: [PATCH] test harness: Output the time information to the same place the test name was printed to. --- tests/test-perfs.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-perfs.zsh b/tests/test-perfs.zsh index a032978..2b003fc 100755 --- a/tests/test-perfs.zsh +++ b/tests/test-perfs.zsh @@ -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() {