Skip to content

Commit be62dcd

Browse files
committed
fix: fix failing bats test
It is because of changes in help message introduced in bcf6caf
1 parent 097b9aa commit be62dcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/cli-tips.bats

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ teardown() {
1919
@test "Displays help with -h option" {
2020
run "$SCRIPT_PATH" -h
2121
[ "$status" -eq 0 ]
22-
[[ "$output" == *"Usage:"* ]]
22+
[[ "$output" == *"Usage"* ]]
2323
}
2424

2525
@test "Displays help with --help option" {
2626
run "$SCRIPT_PATH" --help
2727
[ "$status" -eq 0 ]
28-
[[ "$output" == *"Usage:"* ]]
28+
[[ "$output" == *"Usage"* ]]
2929
}
3030

3131
@test "Errors on unknown option" {

0 commit comments

Comments
 (0)