[Bash-completion-commits] [SCM] bash-completion branch, master, updated. bc0bf2815cf31676a0c014ee5e9f5d03edc6fc1c
Freddy Vulto
fvulto at gmail.com
Tue Nov 16 22:21:37 UTC 2010
The following commit has been merged in the master branch:
commit bc0bf2815cf31676a0c014ee5e9f5d03edc6fc1c
Author: Freddy Vulto <fvulto at gmail.com>
Date: Tue Nov 16 23:21:05 2010 +0100
(testsuite) Uncomment testcases
diff --git a/test/unit/_count_args.exp b/test/unit/_count_args.exp
index 3428410..b615cab 100644
--- a/test/unit/_count_args.exp
+++ b/test/unit/_count_args.exp
@@ -33,36 +33,36 @@ assert_bash_list 1 $cmd $test
sync_after_int
-#set test "a b|c should set args to 1"; # | = cursor position
-#set cmd {COMP_WORDS=(a bc); COMP_CWORD=1; COMP_LINE='a bc'; COMP_POINT=3; _count_args; echo $args}
-#assert_bash_list 1 $cmd $test
-#
-#
-#sync_after_int
-#
-#
-#set test "a b c| should set args to 2"; # | = cursor position
-#set cmd {COMP_WORDS=(a b c); COMP_CWORD=2; COMP_LINE='a b c'; COMP_POINT=4; _count_args; echo $args}
-#assert_bash_list 2 $cmd $test
-#
-#
-#sync_after_int
-#
-#
-#set test "a b| c should set args to 1"; # | = cursor position
-#set cmd {COMP_WORDS=(a b c); COMP_CWORD=1; COMP_LINE='a b c'; COMP_POINT=3; _count_args; echo $args}
-#assert_bash_list 1 $cmd $test
-#
-#
-#sync_after_int
-#
-#
-#set test "a b -c| d should set args to 2"; # | = cursor position
-#set cmd {COMP_WORDS=(a b -c d); COMP_CWORD=2; COMP_LINE='a b -c d'; COMP_POINT=6; _count_args; echo $args}
-#assert_bash_list 2 $cmd $test
-#
-#
-#sync_after_int
+set test "a b|c should set args to 1"; # | = cursor position
+set cmd {COMP_WORDS=(a bc); COMP_CWORD=1; COMP_LINE='a bc'; COMP_POINT=3; _count_args; echo $args}
+assert_bash_list 1 $cmd $test
+
+
+sync_after_int
+
+
+set test "a b c| should set args to 2"; # | = cursor position
+set cmd {COMP_WORDS=(a b c); COMP_CWORD=2; COMP_LINE='a b c'; COMP_POINT=4; _count_args; echo $args}
+assert_bash_list 2 $cmd $test
+
+
+sync_after_int
+
+
+set test "a b| c should set args to 1"; # | = cursor position
+set cmd {COMP_WORDS=(a b c); COMP_CWORD=1; COMP_LINE='a b c'; COMP_POINT=3; _count_args; echo $args}
+assert_bash_list 1 $cmd $test
+
+
+sync_after_int
+
+
+set test "a b -c| d should set args to 2"; # | = cursor position
+set cmd {COMP_WORDS=(a b -c d); COMP_CWORD=2; COMP_LINE='a b -c d'; COMP_POINT=6; _count_args; echo $args}
+assert_bash_list 2 $cmd $test
+
+
+sync_after_int
teardown
--
bash-completion
More information about the Bash-completion-commits
mailing list