diff options
author | Kevin Ballard <kevin@sb.org> | 2014-07-10 10:37:44 -0700 |
---|---|---|
committer | Kevin Ballard <kevin@sb.org> | 2014-07-13 19:11:29 -0700 |
commit | cfa13ed84c32ce3330041a54de392caed83f7ac5 (patch) | |
tree | 92e16596295f88506e5b30652b176d6799d88af2 /tests/test7.in | |
parent | 29b3b6b31e3acbe2b5474db3b7c3841ba1ed17f9 (diff) |
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.
Diffstat (limited to 'tests/test7.in')
-rw-r--r-- | tests/test7.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test7.in b/tests/test7.in index a3ae8360..32298275 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 |