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

@@ -5,3 +5,9 @@
[ "$status" -eq 0 ]
[[ "$output" == "x-localip version"* ]]
}
@test "x-localip help" {
run bash local/bin/x-localip --help
[ "$status" -eq 0 ]
[[ "$output" == "Usage:"* ]]
}