[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-526-g4d76b72

Igor Murzov e-mail at date.by
Wed Nov 9 14:17:30 UTC 2011


The following commit has been merged in the master branch:
commit 4d76b721f488996badd4876a260d8db930cf8104
Author: Igor Murzov <e-mail at date.by>
Date:   Wed Nov 9 18:14:59 2011 +0300

    testsuite: Set correct COMP_POINT value in test.

diff --git a/test/unit/_get_comp_words_by_ref.exp b/test/unit/_get_comp_words_by_ref.exp
index febfccd..c113f6d 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
 
 

-- 
bash-completion



More information about the Bash-completion-commits mailing list