mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
tests: Directly diff expected_region_highlight against region_highlight
This commit is contained in:
parent
622358f32d
commit
a9be0975c8
78 changed files with 219 additions and 121 deletions
|
|
@ -43,7 +43,12 @@ expected_region_highlight=(
|
|||
"23 24 single-hyphen-option" # -i
|
||||
"26 27 command" # ls
|
||||
"29 29 path" # /
|
||||
"30 30 commandseparator" # ;
|
||||
"32 35 precommand" # sudo
|
||||
"37 37 unknown-token" # ;, error because empty command
|
||||
"39 42 precommand" # sudo
|
||||
"44 45 single-hyphen-option" # -u
|
||||
"47 47 unknown-token" # ;, error because incomplete command
|
||||
"49 52 precommand" # sudo
|
||||
"54 64 unknown-token" # notacommand - doesn't falls back to "not a command word" codepath
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue