Added test case for completion "help aliases v"

This commit is contained in:
Nils Winkler
2017-09-15 08:10:16 +02:00
parent e0dc7997c8
commit 298b9c6455

View File

@@ -63,6 +63,11 @@ function __check_completion () {
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" {
run __check_completion 'bash-it disable alias ato'
assert_line "0" ""