zsh-syntax-highlighting/highlighters/main/test-data
Daniel Shahaf 9d6ecea21c Fix a long-standing bug in a unit test. This uncovers a regression.
The test never actually defined a function named 'alias1', not even
when zsh 5.4 warned it about this (see 9523d6d49c,
which was wrong and is hereby reverted).

The test that's now failing has been filed as issue #558.
2018-10-18 23:45:38 +00:00
..
alias-assignment1.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
alias-comment1.zsh 'main': Expand aliases first. (Issue #264.) 2018-10-09 23:28:54 -05:00
alias-comment2.zsh 'main': Expand aliases first. (Issue #264.) 2018-10-09 23:28:54 -05:00
alias-loop.zsh main: Add alias tests 2018-10-10 22:26:47 -05:00
alias-nested-precommand.zsh main: Add alias tests 2018-10-10 22:26:47 -05:00
alias-nested.zsh main: Add alias tests 2018-10-10 22:26:47 -05:00
alias-precommand-option-argument.zsh main: Add alias tests 2018-10-10 22:26:47 -05:00
alias-quoted.zsh main: Add alias tests 2018-10-10 22:26:47 -05:00
alias-redirect.zsh main: Add test for an alias to a redirection 2018-10-10 22:20:19 -05:00
alias-self.zsh main: Add alias tests 2018-10-10 22:26:47 -05:00
alias.zsh Fix a long-standing bug in a unit test. This uncovers a regression. 2018-10-18 23:45:38 +00:00
always1.zsh 'main': Highlight 'always' blocks. 2016-09-25 08:11:01 +00:00
always2.zsh 'main': Highlight 'always' blocks. 2016-09-25 08:11:01 +00:00
always3.zsh 'main': Highlight 'always' blocks. 2016-09-25 08:11:01 +00:00
anonymous-function.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
arg0-colon.zsh 'main': Fix a bug concerning command word with embedded colon-space sequences. 2016-11-02 03:16:45 +00:00
arithmetic-evaluation.zsh tests: Specify the style key instead of the style itself 2016-04-29 09:51:13 -05:00
assign-append.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
assign-argv.zsh main: Highlight the value of an assignment 2018-09-30 15:32:19 -04:00
assign-array2.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
assign-array3.zsh main: Highlight the value of an assignment 2018-09-30 15:32:19 -04:00
assign-array.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
assign-not-array2.zsh main: Highlight the value of an assignment 2018-09-30 15:32:19 -04:00
assign-not-array.zsh main: Highlight the value of an assignment 2018-09-30 15:32:19 -04:00
assign-semicolon.zsh main: Highlight the value of an assignment 2018-09-30 15:32:19 -04:00
assign-subshell.zsh main: Highlight the value of an assignment 2018-09-30 15:32:19 -04:00
assign.zsh main: Highlight the value of an assignment 2018-09-30 15:32:19 -04:00
back-quoted-argument.zsh main: Highlight {command,process} substitution delimiters 2018-09-30 16:26:01 -04:00
back-quoted-open.zsh 'main': Add regression test for an unclosed backtick substitution 2018-09-30 16:26:01 -04:00
backslash-continuation.zsh tests: Specify the style key instead of the style itself 2016-04-29 09:51:13 -05:00
backslash-space.zsh main: Do not skip over backslash floowed by space or tab 2018-09-29 21:33:39 -04:00
braces1.zsh dev tools: Remove a superfluous empty line. 2016-09-25 08:11:01 +00:00
braces2.zsh dev tools: Remove a superfluous empty line. 2016-09-25 08:11:01 +00:00
brackets-mismatch1.zsh dev tools: Remove a superfluous empty line. 2016-09-25 08:11:01 +00:00
brackets-mismatch2.zsh dev tools: Remove a superfluous empty line. 2016-09-25 08:11:01 +00:00
brackets-mismatch3.zsh dev tools: Remove a superfluous empty line. 2016-09-25 08:11:01 +00:00
brackets-mismatch4.zsh dev tools: Remove a superfluous empty line. 2016-09-25 08:11:01 +00:00
brackets-mismatch5.zsh 'main': Yet another test for mismatched braces. 2016-09-25 11:38:52 +00:00
brackets-mismatch6.zsh 'main': Highlight mismatched do/done. 2016-09-25 11:38:54 +00:00
brackets-mismatch7.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
brackets-mismatch8-if-positive.zsh 'main': Highlight mismatched 'if'/'fi'. 2017-03-05 17:33:36 +00:00
brackets-mismatch8.zsh 'main': Permit subshells to end at command position. 2016-09-25 12:06:39 +00:00
brackets-mismatch9-if-positive.zsh 'main': Highlight mismatched 'if'/'fi'. 2017-03-05 17:33:36 +00:00
brackets-mismatch10-if-negative.zsh 'main': Highlight mismatched 'if'/'fi'. 2017-03-05 17:33:36 +00:00
command-substitution-in-assignment.zsh main: Distinguish quoted/unquoted command substitutions 2018-10-13 09:37:09 -05:00
command-substitution-unclosed.zsh main: Distinguish quoted/unquoted command substitutions 2018-10-13 09:37:09 -05:00
commandseparator.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
comment-followed.zsh main: Update test for issue #501 XFAIL 2018-02-10 13:23:42 -06:00
comment-leading.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
comment-off.zsh tests: Specify the style key instead of the style itself 2016-04-29 09:51:13 -05:00
comments.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
commmand-parameter.zsh 'main': Highlight array parameters in command position. 2018-10-10 22:20:18 -05:00
control-flow2.zsh 'main': Fix issue #290, «Mishighlights "longloops" 'repeat'». 2016-05-13 03:30:11 +00:00
control-flow3.zsh tests: Extend issue #290 test with another variant. 2016-05-13 04:28:43 +00:00
control-flow.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
cthulhu.zsh main: Distinguish quoted/unquoted command substitutions 2018-10-13 09:37:09 -05:00
dirs_blacklist.zsh main: Fix blacklist dirs check when there is more than one element 2018-09-24 07:09:08 -05:00
dollar-dollar.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
dollar-noise.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
dollar-paren.zsh main: Distinguish quoted/unquoted command substitutions 2018-10-13 09:37:09 -05:00
dollar-quoted2.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
dollar-quoted3.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
dollar-quoted.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
double-hyphen-option.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
double-quoted2.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
double-quoted3.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
double-quoted4.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
double-quoted.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
empty-command2.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
empty-command.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
escaped-single-quote.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
exec-redirection1.zsh 'main': Enable test for issue #238. 2016-07-28 08:14:23 +00:00
function-named1.zsh dev tools: Remove a superfluous empty line. 2016-09-25 08:11:01 +00:00
function-named2.zsh dev tools: Remove a superfluous empty line. 2016-09-25 08:11:01 +00:00
function.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
glob.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
globs-with-quoting.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
hashed-command.zsh 'main': Use zsh/parameter instead of type -w 2016-05-13 20:25:07 +02:00
history-double-quoted-escaped.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
history-double-quoted-no.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
history-double-quoted-unescaped.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
history-double-quoted-yes.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
history-expansion2.zsh tests: Specify the style key instead of the style itself 2016-04-29 09:51:13 -05:00
history-expansion.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
inheritance.zsh 'main': Enable fallback to the 'arg0' style. 2016-09-28 13:22:29 +00:00
multiline-array-assignment1.zsh dev tools: Remove a superfluous empty line. 2016-09-25 08:11:01 +00:00
multiline-string2.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
multiline-string.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
multiple-quotes.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
multiple-redirections.zsh tests: Specify the style key instead of the style itself 2016-04-29 09:51:13 -05:00
noglob1.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
noglob2.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
noglob3.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
noglob-alias.zsh main: alias style overrides precommand style 2018-10-10 22:20:19 -05:00
number_range-glob.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
off-by-one.zsh 'main': Expand aliases first. (Issue #264.) 2018-10-09 23:28:54 -05:00
option-path_dirs.zsh 'main': Skip tests that break on msys2 2017-11-06 07:11:55 -06:00
option-with-quotes.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
order-path-after-dollar.zsh 'main': Don't highlight bare '$foo' as a filename, as it's a parameter expansion. 2018-01-21 06:55:31 +00:00
order-path-before-globbing.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
parameter-star.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
path_prefix2.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
path_prefix3.zsh main: Add test for previous 2018-03-10 10:25:18 -06:00
path_prefix.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
path-broken-symlink.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
path-dollared-word2.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
path-dollared-word3.zsh 'main': Following up to the last commit, also highlight braced parameter expansions: «${foo}». 2018-10-10 22:19:41 -05:00
path-dollared-word4.zsh 'main': Add tests for «ls \~» and for not performing parameter expansion on the command word. 2017-12-15 02:35:10 +00:00
path-dollared-word.zsh 'main': Add tests for «ls \~» and for not performing parameter expansion on the command word. 2017-12-15 02:35:10 +00:00
path-separators2.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
path-separators.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
path-space.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
path-tilde-home2.zsh tests: Specify the style key instead of the style itself 2016-04-29 09:51:13 -05:00
path-tilde-home3.zsh 'main': Add tests for «ls \~» and for not performing parameter expansion on the command word. 2017-12-15 02:35:10 +00:00
path-tilde-home.zsh tests: Specify the style key instead of the style itself 2016-04-29 09:51:13 -05:00
path-tilde-named.zsh tests: Specify the style key instead of the style itself 2016-04-29 09:51:13 -05:00
path.zsh tests: Specify the style key instead of the style itself 2016-04-29 09:51:13 -05:00
precommand2.zsh 'main': Highlight the 'command' precommand. 2018-10-10 22:19:41 -05:00
precommand3.zsh 'main': Highlight 'nice'. 2018-10-10 22:19:41 -05:00
precommand4.zsh 'main': Learn $flags_sans_arguments and use that to parse '-xy foo' correctly where -x takes no argument and -y does. 2018-10-10 22:19:41 -05:00
precommand-unknown-option.zsh main: Highlight unknown precommand option as unknown-token 2018-10-10 22:30:51 -05:00
precommand.zsh tests: Remove unused_highlight 2016-05-05 12:28:43 -05:00
prefix-redirection.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
process-substitution2.zsh main: Highlight {command,process} substitution delimiters 2018-09-30 16:26:01 -04:00
process-substitution-redirection-isnt-globbing.zsh main: Highlight {command,process} substitution delimiters 2018-09-30 16:26:01 -04:00
process-substitution.zsh main: Highlight {command,process} substitution delimiters 2018-09-30 16:26:01 -04:00
rc-quotes.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
redirection2.zsh main: Highlight {command,process} substitution delimiters 2018-09-30 16:26:01 -04:00
redirection3.zsh main: A redirection token is an invalid redirection target 2017-12-19 23:01:42 -06:00
redirection-comment.zsh main: A redirection token is an invalid redirection target 2017-12-19 23:01:42 -06:00
redirection-in-cmdsubst.zsh main: Distinguish quoted/unquoted command substitutions 2018-10-13 09:37:09 -05:00
redirection.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
reserved-word.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
simple-command.zsh tests: Specify the style key instead of the style itself 2016-04-29 09:51:13 -05:00
simple-redirection.zsh tests: Specify the style key instead of the style itself 2016-04-29 09:51:13 -05:00
subshell.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
sudo-command.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
sudo-comment.zsh Followup to parents: Restore sudo-* tests on platforms that don't have sudo. 2017-12-07 01:16:02 +00:00
sudo-redirection2.zsh Followup to parents: Restore sudo-* tests on platforms that don't have sudo. 2017-12-07 01:16:02 +00:00
sudo-redirection3.zsh Followup to parents: Restore sudo-* tests on platforms that don't have sudo. 2017-12-07 01:16:02 +00:00
sudo-redirection.zsh Followup to parents: Restore sudo-* tests on platforms that don't have sudo. 2017-12-07 01:16:02 +00:00
tilde-command-word.zsh tests: Specify the style key instead of the style itself 2016-04-29 09:51:13 -05:00
unbackslash.zsh tests: Remove unused_highlight 2016-05-05 12:28:43 -05:00
unknown-command.zsh tests: Specify the style key instead of the style itself 2016-04-29 09:51:13 -05:00
vanilla-newline.zsh tests: Specify the style key instead of the style itself 2016-04-29 09:51:13 -05:00
vi-linewise-mode.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00