Commit d65e2d10 by SHIBATA Hiroshi

Merge pull request #839 from jasonkarns/safer-teardown

safer teardown
parents 139c5629 4ff6d729
...@@ -10,7 +10,7 @@ if [ "$FIXTURE_ROOT" != "$BATS_TEST_DIRNAME/fixtures" ]; then ...@@ -10,7 +10,7 @@ if [ "$FIXTURE_ROOT" != "$BATS_TEST_DIRNAME/fixtures" ]; then
fi fi
teardown() { teardown() {
rm -fr "$TMP"/* rm -fr "${TMP:?}"/*
} }
stub() { stub() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment