Merge pull request #1626 from NoahGorny/update-to-stable-or-unstable

bash-it update to stable or dev
This commit is contained in:
Noah Gorny
2020-10-16 14:16:06 +03:00
committed by GitHub
5 changed files with 134 additions and 38 deletions

View File

@@ -58,9 +58,14 @@ function __check_completion () {
assert_line -n 0 "vagrant vault vim"
}
@test "completion bash-it: update - show no options" {
@test "completion bash-it: update - show options" {
run __check_completion 'bash-it update '
assert_line -n 0 ""
assert_line -n 0 "stable dev"
}
@test "completion bash-it: update - show optional flags" {
run __check_completion 'bash-it update -'
assert_line -n 0 "-s --silent"
}
@test "completion bash-it: search - show no options" {