summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/unit/_get_comp_words_by_ref.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/_get_comp_words_by_ref.exp b/test/unit/_get_comp_words_by_ref.exp
index febfccd6..c113f6df 100644
--- a/test/unit/_get_comp_words_by_ref.exp
+++ b/test/unit/_get_comp_words_by_ref.exp
@@ -116,7 +116,7 @@ sync_after_int
set test {a\ b a\ b| should return a\ b}; # | = cursor position
-set cmd {COMP_WORDS=('a\ b' 'a\ b'); COMP_CWORD=1; COMP_LINE='a\ b a\ b'; COMP_POINT=11; _get_comp_words_by_ref cur prev; echo "$cur $prev"}
+set cmd {COMP_WORDS=('a\ b' 'a\ b'); COMP_CWORD=1; COMP_LINE='a\ b a\ b'; COMP_POINT=9; _get_comp_words_by_ref cur prev; echo "$cur $prev"}
assert_bash_list {"a\\ b a\\ b"} $cmd $test