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