mirror of
https://github.com/sstephenson/bats.git
synced 2024-11-17 03:32:27 +01:00
Safeguard test teardown (#45)
This commit is contained in:
parent
c7b0e6eba8
commit
34b65bb904
|
@ -7,5 +7,5 @@ setup() {
|
||||||
}
|
}
|
||||||
|
|
||||||
teardown() {
|
teardown() {
|
||||||
rm -f "$TMP"/*
|
[ -d "$TMP" ] && rm -f "$TMP"/*
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user