From 917f26b1dde64ffbf0d601231daa56722d93d61d Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Sat, 28 Mar 2020 18:40:57 +0100 Subject: [PATCH] tests/interactive.fish: Match littlecheck's coloring Littlecheck resets the color before the time, which looks a bit nicer. But most of all, it's inconsistent. --- tests/interactive.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/interactive.fish b/tests/interactive.fish index f167877c4..f60870163 100644 --- a/tests/interactive.fish +++ b/tests/interactive.fish @@ -58,7 +58,7 @@ function test_file set -l err_status $status if test $out_status -eq 0 -a $err_status -eq 0 -a $exit_status -eq 0 - say green "ok ($test_duration $unit)" + printf '%s\n' (set_color green)ok(set_color normal)" ($test_duration $unit)" # clean up tmp files rm -f $file.tmp.{err,out,log} return 0