From 4d76b721f488996badd4876a260d8db930cf8104 Mon Sep 17 00:00:00 2001 From: Igor Murzov Date: Wed, 9 Nov 2011 18:14:59 +0300 Subject: testsuite: Set correct COMP_POINT value in test. --- test/unit/_get_comp_words_by_ref.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1