mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-03-17 04:05:31 +00:00
fix(scripts): correct usage and help exit status (#143)
This commit is contained in:
@@ -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"* ]]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user