Added test case for completion "help aliases v"
parent
e0dc7997c8
commit
298b9c6455
|
|
@ -63,6 +63,11 @@ function __check_completion () {
|
||||||
echo "${COMPREPLY[@]}"
|
echo "${COMPREPLY[@]}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@test "completion bash-it: help aliases" {
|
||||||
|
run __check_completion 'bash-it help aliases v'
|
||||||
|
assert_line "0" "vagrant vault vim"
|
||||||
|
}
|
||||||
|
|
||||||
@test "completion bash-it: disable - provide nothing when atom is not enabled" {
|
@test "completion bash-it: disable - provide nothing when atom is not enabled" {
|
||||||
run __check_completion 'bash-it disable alias ato'
|
run __check_completion 'bash-it disable alias ato'
|
||||||
assert_line "0" ""
|
assert_line "0" ""
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue