zsh-syntax-highlighting/highlighters/main/test-data
Daniel Shahaf 627eb71940 tests: Use $unused_highlight in more places.
Notably, the 'single-hyphen-option' and 'assign' contexts both default to the
'none' style, so before this patch, the tests would not have detected a failure
to apply those two contexts.

For other contexts, using $unused_highlight only helps detect the case where
the right highlight style (e.g., 'fg=yellow') is used as a result of applying
the wrong context — which should be a theoretical failure mode.

This is part of zsh-users/zsh-syntax-highlighting#198.
2015-09-18 18:44:45 +00:00
..
assign-append.zsh tests: Use $unused_highlight in more places. 2015-09-18 18:44:45 +00:00
assign.zsh tests: Use $unused_highlight in more places. 2015-09-18 18:44:45 +00:00
backslash-continuation.zsh test harness: Fix off-by-one discrepancy between observed and expected. 2015-09-12 20:48:25 +00:00
dollar-quoted.zsh tests: Use $unused_highlight in more places. 2015-09-18 18:44:45 +00:00
double-quoted.zsh tests: Add test for escape sequences in double-quoted strings 2015-09-17 20:01:46 +00:00
glob.zsh Highlight ? as globbing. 2015-09-07 18:03:14 +00:00
multiline-string.zsh test harness: Fix off-by-one discrepancy between observed and expected. 2015-09-12 20:48:25 +00:00
multiline-string2.zsh tests: Use $unused_highlight in more places. 2015-09-18 18:44:45 +00:00
multiple-redirections.zsh Big refactoring. 2011-06-12 22:57:14 +02:00
noglob1.zsh Highlight 'noglob' correctly in more cases. 2015-09-07 09:09:17 +00:00
noglob2.zsh Highlight 'noglob' correctly in more cases. 2015-09-07 09:09:17 +00:00
path-space- .zsh add some tests 2011-09-07 01:14:45 +08:00
path-tilde-home.zsh add tests for handling tildes 2011-09-07 01:14:45 +08:00
path-tilde-named.zsh tests: path-tilde-named.zsh: Fix expectations 2015-09-17 19:09:33 +00:00
path.zsh add some tests 2011-09-07 01:14:45 +08:00
prefix-redirection.zsh test harness: Fix off-by-one discrepancy between observed and expected. 2015-09-12 20:48:25 +00:00
simple-command.zsh Big refactoring. 2011-06-12 22:57:14 +02:00
simple-redirection.zsh test harness: Fix off-by-one discrepancy between observed and expected. 2015-09-12 20:48:25 +00:00
sudo-command.zsh tests: Use $unused_highlight in more places. 2015-09-18 18:44:45 +00:00
unknown-command.zsh Big refactoring. 2011-06-12 22:57:14 +02:00
vanilla-newline.zsh tests: vanilla-newline.zsh: Fix expectations 2015-09-17 23:33:56 +00:00