From cfa13ed84c32ce3330041a54de392caed83f7ac5 Mon Sep 17 00:00:00 2001 From: Kevin Ballard Date: Thu, 10 Jul 2014 10:37:44 -0700 Subject: [PATCH] Update tests for new `type` behavior One of the tests was using `>/dev/null` to suppress the `type` output. That needs to be `^/dev/null` now, but instead just go ahead and use the new `-q` flag. --- tests/test7.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test7.in b/tests/test7.in index a3ae8360c..322982756 100644 --- a/tests/test7.in +++ b/tests/test7.in @@ -110,6 +110,6 @@ function fish_test_type_zzz true end # Should succeed -type fish_test_type_zzz >/dev/null ; echo $status +type -q fish_test_type_zzz ; echo $status # Should fail -type -f fish_test_type_zzz >/dev/null ; echo $status +type -q -f fish_test_type_zzz ; echo $status