fix(scripts): correct usage and help exit status (#143)

This commit is contained in:
2025-06-30 08:51:06 +03:00
committed by GitHub
parent 29d3676b38
commit 07fe18af75
6 changed files with 21 additions and 3 deletions

View File

@@ -2,6 +2,6 @@
@test "x-gh-get-latest-version help" {
run bash local/bin/x-gh-get-latest-version --help
[ "$status" -eq 1 ]
[ "$status" -eq 0 ]
[[ "$output" == "Usage: x-gh-get-latest-version"* ]]
}