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
|
|
@ -31,10 +31,20 @@ BUFFER='tar cf - * | (cd /target; tar xfp -) | { cat }'
|
|||
|
||||
expected_region_highlight=(
|
||||
"1 3 command" # tar
|
||||
"5 6 default" # cf
|
||||
"8 8 single-hyphen-option" # -
|
||||
"10 10 default" # *
|
||||
"10 10 globbing" # *
|
||||
"12 12 commandseparator" # |
|
||||
"14 14 reserved-word" # (
|
||||
"15 16 builtin" # cd
|
||||
"18 24 default" # /target
|
||||
"25 25 commandseparator" # ;
|
||||
"27 29 command" # tar
|
||||
"31 33 default" # xfp
|
||||
"35 35 single-hyphen-option" # -
|
||||
"36 36 reserved-word" # )
|
||||
"38 38 commandseparator" # |
|
||||
"40 40 reserved-word" # {
|
||||
"42 44 command" # cat
|
||||
"46 46 reserved-word" # }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue