mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 10:57:30 +08:00
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:
parent
29b3b6b31e
commit
cfa13ed84c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user