fish-shell/tests
ridiculousfish d5f3a09ce9 Make 'set -ql' search up to function scope
Previously 'set -ql' would only look for variables in the
immediate local scope. This was not very useful. It's also
arguably surprising, since a 'set -l' in a function, followed
by a 'set -ql' in a child block, would fail. There was also no
way to check for a function-scoped variable, since omitting the
scope would also pull in global variables.

We could revisit this and introduce an explicit function scope.

Fixes #2502
2015-10-23 15:15:39 -07:00
..
test_functions Define a common mktemp for tests 2014-11-24 01:51:07 -08:00
abbr.err Add abbreviation tests 2015-06-14 14:13:57 -07:00
abbr.in Add abbreviation tests 2015-06-14 14:13:57 -07:00
abbr.out Add abbreviation tests 2015-06-14 14:13:57 -07:00
abbr.status Add abbreviation tests 2015-06-14 14:13:57 -07:00
bind.expect tests/bind.expect: re-enable but at human typing speed only 2015-10-18 21:12:12 +08:00
bind.expect.err Reset fish_bind_mode when changing fish_key_bindings 2014-09-18 15:46:17 -07:00
bind.expect.out Implement lowercase-r replace in fish_vi_mode 2015-07-20 00:29:08 -07:00
bind.expect.status Reset fish_bind_mode when changing fish_key_bindings 2014-09-18 15:46:17 -07:00
expansion.err Pass the character index, not the character, to parse_util_expand_variable_error 2015-05-15 17:56:12 -07:00
expansion.in Pass the character index, not the character, to parse_util_expand_variable_error 2015-05-15 17:56:12 -07:00
expansion.out Pass the character index, not the character, to parse_util_expand_variable_error 2015-05-15 17:56:12 -07:00
expansion.status Fix double expansions ($$foo) 2014-08-20 21:45:07 -07:00
function.err Add new functions flag -V/--inherit-variable 2014-10-02 18:41:39 -07:00
function.in Correctly handle mixing named arguments with function name 2015-05-17 14:17:01 -07:00
function.out Correctly handle mixing named arguments with function name 2015-05-17 14:17:01 -07:00
function.status Add new functions flag -V/--inherit-variable 2014-10-02 18:41:39 -07:00
gen_output.fish Don't leave is_block in bad state after bad redirection 2014-09-30 17:06:56 -07:00
generic.expect Treat comments ending in backslashes as not continuing onto the next line 2015-05-02 18:22:20 -07:00
generic.expect.err Allow U+F8FF to be typed 2014-09-21 21:03:44 -07:00
generic.expect.out Allow U+F8FF to be typed 2014-09-21 21:03:44 -07:00
generic.expect.status Allow U+F8FF to be typed 2014-09-21 21:03:44 -07:00
history_sample_bash
history_sample_corrupt1 Improve history robustness against corrupt files 2014-07-29 14:42:03 -07:00
history_sample_fish_1_x
history_sample_fish_2_0
indent.err Implement tests for fish_indent 2014-12-23 15:46:47 -08:00
indent.in Improve indentation of blocks inside if/while headers 2014-12-23 16:30:39 -08:00
indent.out Improve indentation of blocks inside if/while headers 2014-12-23 16:30:39 -08:00
indent.status Implement tests for fish_indent 2014-12-23 15:46:47 -08:00
interactive.config Tweak test runner to set up environment better 2014-11-24 01:51:07 -08:00
interactive.expect.rc Try to fix the Travis test failures 2014-09-23 23:20:02 -07:00
interactive.fish tests/bind.expect: re-enable but at human typing speed only 2015-10-18 21:12:12 +08:00
printf.err
printf.in Make octal/hex escapes in printf and echo output literal bytes 2015-01-15 11:21:07 -08:00
printf.out Make octal/hex escapes in printf and echo output literal bytes 2015-01-15 11:21:07 -08:00
printf.status
read.err read: Support arrays, character splitting 2014-07-14 00:46:38 -07:00
read.expect Add a test harness for interactive behavior 2014-09-07 23:56:59 -07:00
read.expect.err Add a test harness for interactive behavior 2014-09-07 23:56:59 -07:00
read.expect.out Add a test harness for interactive behavior 2014-09-07 23:56:59 -07:00
read.expect.status Add a test harness for interactive behavior 2014-09-07 23:56:59 -07:00
read.in Fix incorrect error on read with 1-character input 2014-09-21 20:00:26 -07:00
read.out Fix incorrect error on read with 1-character input 2014-09-21 20:00:26 -07:00
read.status read: Support arrays, character splitting 2014-07-14 00:46:38 -07:00
status.err Don't leave is_block in bad state after bad redirection 2014-09-30 17:06:56 -07:00
status.in Revert "tests/status.in: fix test for locale, fall back to default strings" 2014-11-25 00:51:39 -08:00
status.out Base status -b off the parser execution stack 2014-09-30 20:58:45 -07:00
status.status Don't leave is_block in bad state after bad redirection 2014-09-30 17:06:56 -07:00
string.err tests/string.in: add tests for string builtin 2015-10-09 11:27:18 +08:00
string.in tests/string.in: add tests for string builtin 2015-10-09 11:27:18 +08:00
string.out tests/string.in: add tests for string builtin 2015-10-09 11:27:18 +08:00
string.status tests/string.in: add tests for string builtin 2015-10-09 11:27:18 +08:00
test.fish Allow running specific high-level tests by passing the name to test.fish 2014-12-23 12:20:44 -08:00
test1.err
test1.in Treat comments ending in backslashes as not continuing onto the next line 2015-05-02 18:22:20 -07:00
test1.out Add a test for issue #1987 2015-04-05 23:47:04 -07:00
test1.status
test2.err
test2.in
test2.out
test2.status
test3.err
test3.in Rename sgrep to __fish_sgrep 2015-09-09 20:55:04 +02:00
test3.out Correctly un-export an env var when it is shadowed 2015-06-12 16:05:59 -07:00
test3.status
test4.err
test4.in Make 'set -ql' search up to function scope 2015-10-23 15:15:39 -07:00
test4.out Make 'set -ql' search up to function scope 2015-10-23 15:15:39 -07:00
test4.status
test5.err
test5.in Fix wildcard expansion in directories without read permissions 2015-06-20 12:32:30 -07:00
test5.out Fix wildcard expansion in directories without read permissions 2015-06-20 12:32:30 -07:00
test5.status
test6.err
test6.in Rewrite fishscript testrunner for better output 2014-10-02 12:33:42 -07:00
test6.out Don't include child directories of $PATH in completions 2014-09-20 00:31:33 -07:00
test6.status
test7.err
test7.in Update tests for new type behavior 2014-07-13 19:11:29 -07:00
test7.out Finish rewriting detect_errors to use new parser. All tests now pass (!) 2013-12-12 18:18:07 -08:00
test7.status
test8.err
test8.in Make if statements always return success at the end, matching other 2014-02-07 17:57:53 -08:00
test8.out Make if statements always return success at the end, matching other 2014-02-07 17:57:53 -08:00
test8.status
test9.err Improve error reporting for unclosed blocks 2014-10-14 00:41:39 -07:00
test9.in Rename sgrep to __fish_sgrep 2015-09-09 20:55:04 +02:00
test9.out Allow # within string tokens 2014-11-01 21:06:16 -07:00
test9.status
test_util.fish Allow running specific high-level tests by passing the name to test.fish 2014-12-23 12:20:44 -08:00
top.out Don't leave is_block in bad state after bad redirection 2014-09-30 17:06:56 -07:00