Fixed case where nothing was enabled

This commit is contained in:
Nils Winkler
2017-09-15 08:10:15 +02:00
parent adb2f1071f
commit e7298a5303
2 changed files with 7 additions and 2 deletions

View File

@@ -65,6 +65,11 @@ function __check_completion () {
@test "completion bash-it: disable - provide nothing when atom is not enabled" {
run __check_completion 'bash-it disable alias ato'
assert_line "0" ""
}
@test "completion bash-it: disable - provide all when atom is not enabled" {
run __check_completion 'bash-it disable alias a'
assert_line "0" "all"
}