mirror of
https://github.com/fish-shell/fish-shell
synced 2024-09-21 15:01:53 +00:00
Add some more type tests
This commit is contained in:
parent
3a05326a39
commit
7934972751
1 changed files with 12 additions and 0 deletions
|
@ -40,3 +40,15 @@ type realpath | grep -v "^ *"
|
|||
type -t realpath foobar
|
||||
# CHECK: function
|
||||
# CHECKERR: type: Could not find {{.}}foobar{{.}}
|
||||
|
||||
type -P test
|
||||
# CHECK: test is {{.*}}/test
|
||||
type -P ls
|
||||
# CHECK: ls is {{.*}}/ls
|
||||
|
||||
type
|
||||
echo $status
|
||||
# CHECK: 1
|
||||
type -q
|
||||
echo $status
|
||||
# CHECK: 1
|
||||
|
|
Loading…
Reference in a new issue