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.
This commit is contained in:
Fabian Homborg 2020-03-28 18:40:57 +01:00
parent 82977f07a0
commit 917f26b1dd

View file

@ -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