mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 12:23:09 +00: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
1 changed files with 2 additions and 2 deletions
|
@ -110,6 +110,6 @@ function fish_test_type_zzz
|
||||||
true
|
true
|
||||||
end
|
end
|
||||||
# Should succeed
|
# Should succeed
|
||||||
type fish_test_type_zzz >/dev/null ; echo $status
|
type -q fish_test_type_zzz ; echo $status
|
||||||
# Should fail
|
# Should fail
|
||||||
type -f fish_test_type_zzz >/dev/null ; echo $status
|
type -q -f fish_test_type_zzz ; echo $status
|
||||||
|
|
Loading…
Reference in a new issue