zsh-syntax-highlighting/highlighters/main/test-data
Sam Jorna (wraeth) 47d6dac133
main-highlighter: Probe dirs after blacklist
Move tests on the highlight path until after the blacklist is checked so
that blacklisted paths are not tested. This should prevent hangs on dead
remote filesystems provided the path is blacklisted in
X_ZSH_HIGHLIGHT_DIRS_BLACKLIST.

Updated tests to 'default' highlight as the blacklist is now checked
before the path is tested.

Bug: https://github.com/zsh-users/zsh-syntax-highlighting/issues/528
2018-08-31 13:04:52 +10:00
..
alias-assignment1.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
alias.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06: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 scalar assignments to argv 2016-06-03 03:27:52 +00:00
assign-array.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
assign-array2.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
assign-array3.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
assign-semicolon.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
assign-subshell.zsh 'main': Try the "non-command word" codepath when a word may be either a command word or a non-command word. 2016-06-03 04:25:00 +00:00
assign.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
back-quoted-argument.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
backslash-continuation.zsh tests: Specify the style key instead of the style itself 2016-04-29 09:51:13 -05: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
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 tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
control-flow.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06: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
dirs_blacklist.zsh main-highlighter: Probe dirs after blacklist 2018-08-31 13:04:52 +10: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 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
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
double-hyphen-option.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
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
empty-command.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
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-expansion.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
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-string.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
multiline-string2.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
noglob-alias.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06: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
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 tests: New test to capture off-by-ones. 2016-05-11 20:36:18 +00: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-broken-symlink.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06: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-dollared-word2.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
path-dollared-word3.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06: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-separators.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
path-separators2.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-home.zsh tests: Specify the style key instead of the style itself 2016-04-29 09:51:13 -05: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-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
path_prefix.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
precommand.zsh tests: Remove unused_highlight 2016-05-05 12:28:43 -05:00
precommand2.zsh 'main': Add test for issue #343, concerning the 'command' precommand. 2016-07-28 07:54:28 +00:00
prefix-redirection.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
process-substitution-redirection-isnt-globbing.zsh Add a regression test for a problem seen during development. 2018-05-12 00:04:19 +00:00
rc-quotes.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -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': Don't match redirection operators in command substitutions as <-> number range globs. Fixes #483. 2018-01-19 01:26:34 +00:00
redirection.zsh tests: Directly diff expected_region_highlight against region_highlight 2018-02-10 14:49:07 -06:00
redirection2.zsh main: Add XFAIL to redirections2 for process-substitution #494 2018-01-20 20:32:34 -06:00
redirection3.zsh main: A redirection token is an invalid redirection target 2017-12-19 23:01:42 -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-redirection.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
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