1
0
mirror of https://github.com/sstephenson/bats.git synced 2024-12-25 14:09:43 +01:00

Safeguard test teardown (#45)

This commit is contained in:
Sam Stephenson 2014-06-01 20:21:14 -05:00
parent c7b0e6eba8
commit 34b65bb904

View File

@ -7,5 +7,5 @@ setup() {
}
teardown() {
rm -f "$TMP"/*
[ -d "$TMP" ] && rm -f "$TMP"/*
}