summaryrefslogtreecommitdiff
path: root/test/unit/_count_args.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/_count_args.exp')
-rw-r--r--test/unit/_count_args.exp62
1 files changed, 31 insertions, 31 deletions
diff --git a/test/unit/_count_args.exp b/test/unit/_count_args.exp
index a1419481..34284108 100644
--- a/test/unit/_count_args.exp
+++ b/test/unit/_count_args.exp
@@ -26,43 +26,43 @@ sync_after_int
set test "a b| should set args to 1"; # | = cursor position
-set cmd {COMP_WORDS=(a b); COMP_CWORD=1; COMP_LINE='a b'; COMP_POINT=3; _count_args; echo -n $args}
+set cmd {COMP_WORDS=(a b); COMP_CWORD=1; COMP_LINE='a b'; 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 1"; # | = cursor position
-set cmd {COMP_WORDS=(a bc); COMP_CWORD=1; COMP_LINE='a bc'; COMP_POINT=3; _count_args; echo -n $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 -n $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 -n $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 -n $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