From 4b181df25471c6640eb76d2b70c80064768c0b4b Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sat, 21 Sep 2019 12:12:08 -0700 Subject: [PATCH] Correctly detect the presence of gdate Fixes some test spew --- tests/test_util.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_util.fish b/tests/test_util.fish index c49a9a38e..402b5e823 100644 --- a/tests/test_util.fish +++ b/tests/test_util.fish @@ -136,7 +136,7 @@ end # lame timer for program in {g,}date - if $program --version 1>/dev/null 2>/dev/null + if command -q $program set milli $program set unit ms break