Added test case for completion "help aliases v"
This commit is contained in:
@@ -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" ""
|
||||||
|
|||||||
Reference in New Issue
Block a user