diff --git a/tests/checks/type.fish b/tests/checks/type.fish index ed94f1add..3258c0f83 100644 --- a/tests/checks/type.fish +++ b/tests/checks/type.fish @@ -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