test harness: Fix off-by-one discrepancy between observed and expected.

Fixes issue #195.
This commit is contained in:
Daniel Shahaf
2015-09-12 20:29:04 +00:00
parent 6d93ea07fd
commit c46b8d169e
13 changed files with 40 additions and 30 deletions

View File

@@ -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