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.
This commit is contained in:
Kevin Ballard 2014-07-10 10:37:44 -07:00
parent 29b3b6b31e
commit cfa13ed84c

View file

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