mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-14 10:53:13 +00:00
fix(scripts): correct usage and help exit status (#143)
This commit is contained in:
@@ -20,3 +20,9 @@
|
||||
VERBOSE=1 source local/bin/x-path-remove "$BATS_TMPDIR/dir"
|
||||
[ "$PATH" = "/usr/bin" ]
|
||||
}
|
||||
|
||||
@test "x-path-append skips missing directory" {
|
||||
PATH="/usr/bin"
|
||||
VERBOSE=1 source local/bin/x-path-append "$BATS_TMPDIR/no-such"
|
||||
[ "$PATH" = "/usr/bin" ]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user