summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Murzov <e-mail@date.by>2011-11-09 18:14:59 +0300
committerIgor Murzov <e-mail@date.by>2011-11-09 18:14:59 +0300
commit4d76b721f488996badd4876a260d8db930cf8104 (patch)
tree8ca1a088492058c8ae2a83e4bdfd473b97cdb06a
parente4cdcca08ee486e0354d1872ab997bb08e88b569 (diff)
downloadbash-completion-4d76b721f488996badd4876a260d8db930cf8104.tar.gz
testsuite: Set correct COMP_POINT value in test.
-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