fix test under git hook (#349)

* fix test under git hook. Actually closes #334
pull/356/head
Josh Rabinowitz 5 years ago committed by GitHub
parent 5a28744c5d
commit 8ed4f46de6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -70,6 +70,12 @@ function teardown {
}
@test "run 'hide' from inside subdirectory" {
if [[ "$BATS_RUNNING_FROM_GIT" -eq 1 ]]; then
# See #334 for more about this
skip "this test is skipped while 'git commit'"
fi
# Preparations:
local root_dir='test_sub_dir'
mkdir -p "$root_dir"

Loading…
Cancel
Save