mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
test harness: Fix off-by-one discrepancy between observed and expected.
Fixes issue #195.
This commit is contained in:
parent
6d93ea07fd
commit
c46b8d169e
13 changed files with 40 additions and 30 deletions
|
|
@ -32,7 +32,7 @@ BUFFER='>/tmp >/tmp sudo echo foo'
|
|||
|
||||
expected_region_highlight=(
|
||||
"2 5 $ZSH_HIGHLIGHT_STYLES[path]" # /tmp
|
||||
"7 11 $ZSH_HIGHLIGHT_STYLES[path]" # /tmp
|
||||
"8 11 $ZSH_HIGHLIGHT_STYLES[path]" # /tmp
|
||||
"13 16 $ZSH_HIGHLIGHT_STYLES[precommand]" # sudo
|
||||
"18 21 $ZSH_HIGHLIGHT_STYLES[builtin]" # echo
|
||||
"23 25 $ZSH_HIGHLIGHT_STYLES[default]" # foo
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue