fish-shell/tests/checks
Fabian Homborg 6500765256 Allow switch with something that expands to nothing
Meaning empty variables, command substitutions that don't print
anything.

A switch without an argument

```fish
switch
   case ...
end
```

is still a syntax error, and more than one argument is still a runtime
error.

The none-argument matches either an empty-string `case ''` or a
catch-all `case '*'`.

Fixes #5677.

Fixes #4943.
2019-07-31 14:08:28 +02:00
..
broken-config/fish Port config tests to littlecheck 2019-06-25 22:31:06 +02:00
abbr.fish Port abbr test to littlecheck 2019-06-26 21:19:40 +02:00
alias.fish Port alias test to littlecheck 2019-06-26 21:19:40 +02:00
andandoror.fish Port andandoror test to littlecheck 2019-06-26 21:19:40 +02:00
argparse.fish Port argparse tests to littlecheck 2019-06-25 16:11:24 +02:00
bad-option.fish Add NetBSD's error to the bad-option test 2019-07-02 23:48:25 +02:00
bind.fish Port bind tests to littlecheck 2019-06-26 21:19:40 +02:00
broken-config.fish Port config tests to littlecheck 2019-06-25 22:31:06 +02:00
command-1.fish Port most of the invocation tests to littlecheck 2019-06-25 20:56:29 +02:00
command-2.fish Port most of the invocation tests to littlecheck 2019-06-25 20:56:29 +02:00
command-vars-persist.fish Port most of the invocation tests to littlecheck 2019-06-25 20:56:29 +02:00
complete.fish Port complete tests to littlecheck 2019-07-03 13:02:15 +02:00
count.fish Port count test to littlecheck 2019-06-26 21:19:40 +02:00
directory-redirect.fish tests: Simplify directory-redirect test 2019-06-28 20:48:11 +02:00
env.fish Correctly mark a node when erasing an exported variable 2019-06-28 11:22:49 -07:00
eval.fish eval tests: Fix path 2019-07-03 15:14:49 +02:00
features-nocaret1.fish Port most of the invocation tests to littlecheck 2019-06-25 20:56:29 +02:00
features-nocaret2.fish Port most of the invocation tests to littlecheck 2019-06-25 20:56:29 +02:00
features-nocaret3.fish Port most of the invocation tests to littlecheck 2019-06-25 20:56:29 +02:00
features-nocaret4.fish Port most of the invocation tests to littlecheck 2019-06-25 20:56:29 +02:00
features-qmark1.fish Port qmark1 test to littlecheck 2019-06-25 22:31:06 +02:00
features-qmark2.fish Port most of the invocation tests to littlecheck 2019-06-25 20:56:29 +02:00
features-string-backslashes-off.fish Port most of the invocation tests to littlecheck 2019-06-25 20:56:29 +02:00
features-string-backslashes.fish Port most of the invocation tests to littlecheck 2019-06-25 20:56:29 +02:00
init-command-2.fish Port most of the invocation tests to littlecheck 2019-06-25 20:56:29 +02:00
init-command-mix-ordering.fish Port most of the invocation tests to littlecheck 2019-06-25 20:56:29 +02:00
init-command-mix.fish Port most of the invocation tests to littlecheck 2019-06-25 20:56:29 +02:00
init-command.fish Port most of the invocation tests to littlecheck 2019-06-25 20:56:29 +02:00
interactive.fish Port most of the invocation tests to littlecheck 2019-06-25 20:56:29 +02:00
invocation.fish Port most of the invocation tests to littlecheck 2019-06-25 20:56:29 +02:00
login-interactive.fish Port most of the invocation tests to littlecheck 2019-06-25 20:56:29 +02:00
login.fish Port most of the invocation tests to littlecheck 2019-06-25 20:56:29 +02:00
math.fish Port math test to littlecheck 2019-06-26 21:19:40 +02:00
no-login-no-interactive.fish Port most of the invocation tests to littlecheck 2019-06-25 20:56:29 +02:00
printf.fish Port printf tests to littlecheck and teach the tester how to run it 2019-06-16 14:10:41 -07:00
rc-returned.fish Port most of the invocation tests to littlecheck 2019-06-25 20:56:29 +02:00
realpath.fish Port realpath tests to littlecheck 2019-07-02 23:05:50 +02:00
set.fish tests/checks/set: Make a temporary XDG_CONFIG_HOME 2019-07-31 13:52:36 +02:00
setenv.fish Port setenv tests to littlecheck 2019-07-09 10:02:50 -07:00
signal.fish Port signal tests to littlecheck 2019-06-26 11:07:46 -07:00
string.fish Correct handling of explicitly separated output when all elements are empty 2019-07-21 14:00:27 -07:00
switch.fish Allow switch with something that expands to nothing 2019-07-31 14:08:28 +02:00
version.fish Port most of the invocation tests to littlecheck 2019-06-25 20:56:29 +02:00