fish-shell/tests
Fabian Homborg 08209b3d9a Forbid $status as a command
This is slightly unclean. Even tho it would otherwise be syntactically
valid, using $status as a command is very very very likely to be an
error, like

    if not $status

We have reports of this surprisingly regularly, including #2773.

Because $status can only ever be a value from 0 to 255, it is also
very unlikely to be an actual command, and that command is very
unlikely to do what you want.

So we simply point the user towards the "conditions" help section,
that should explain things.
2021-07-27 18:37:20 +02:00
..
checks Forbid $status as a command 2021-07-27 18:37:20 +02:00
pexpects Put back support for undocumented -I option to commandline 2021-07-21 15:35:22 -07:00
test_functions Resurrect one last function 2020-03-17 21:58:49 +01:00
.gitignore
history_sample_bash Support $(cmd) command substitution as alternative to (cmd) 2021-07-13 21:33:42 +02:00
history_sample_corrupt1 Improve history robustness against corrupt files 2014-07-29 14:42:03 -07:00
history_sample_fish_1_x Enforce that history items must end with trailing newlines 2021-05-10 14:23:07 -07:00
history_sample_fish_2_0 Enforce that history items must end with trailing newlines 2021-05-10 14:23:07 -07:00
interactive.config Remove some unused functions from the test harness 2020-11-15 09:17:23 +01:00
interactive.fish tests/bind: Skip on Github macOS 2021-05-23 19:46:04 +02:00
test.fish Cleanup test setup a bit 2020-11-15 09:17:23 +01:00
test_util.fish tests: Remove unused colordiff function 2021-01-01 14:18:17 +01:00