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,9 +32,9 @@ PREBUFFER=$'echo foo; echo bar\n\n\n'
|
|||
BUFFER=' echo baz; echo qux'
|
||||
|
||||
expected_region_highlight=(
|
||||
"1 5 $ZSH_HIGHLIGHT_STYLES[builtin]" # echo
|
||||
"6 8 $ZSH_HIGHLIGHT_STYLES[default]" # baz
|
||||
"9 10 $ZSH_HIGHLIGHT_STYLES[default]" # semicolon
|
||||
"2 5 $ZSH_HIGHLIGHT_STYLES[builtin]" # echo
|
||||
"7 9 $ZSH_HIGHLIGHT_STYLES[default]" # baz
|
||||
"10 10 $ZSH_HIGHLIGHT_STYLES[default]" # semicolon
|
||||
"12 15 $ZSH_HIGHLIGHT_STYLES[builtin]" # echo
|
||||
"17 19 $ZSH_HIGHLIGHT_STYLES[default]" # qux
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue