Skip to content

Commit d6883e5

Browse files
author
Noah Gorny
committed
test: Add completion test for -s --silent flag
1 parent e372c71 commit d6883e5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/completion/bash-it.completion.bats

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ function __check_completion () {
6363
assert_line -n 0 "stable dev"
6464
}
6565

66+
@test "completion bash-it: update - show optional flags" {
67+
run __check_completion 'bash-it update -'
68+
assert_line -n 0 "-s --silent"
69+
}
70+
6671
@test "completion bash-it: search - show no options" {
6772
run __check_completion 'bash-it search '
6873
assert_line -n 0 ""

0 commit comments

Comments
 (0)