aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/test7.in
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test7.in')
-rw-r--r--tests/test7.in13
1 files changed, 2 insertions, 11 deletions
diff --git a/tests/test7.in b/tests/test7.in
index 22f5d92c..32298275 100644
--- a/tests/test7.in
+++ b/tests/test7.in
@@ -20,15 +20,6 @@ case one
echo $status
end
-# Test that non-case tokens inside `switch` don't blow away status
-# (why are these even allowed?)
-false
-switch one
-true
-case one
- echo $status
-end
-
#test contains -i
echo test contains -i
contains -i string a b c string d
@@ -119,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