(testsuite) Uncomment testcases
This commit is contained in:
parent
7e8fe15484
commit
bc0bf2815c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user