Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
TestBan: Clean up properly after completing test (#9994)
- Loading branch information
Showing
with
3 additions
and
0 deletions.
-
+3
−0
src/unittest/test_ban.cpp
|
@@ -61,6 +61,9 @@ void TestBan::runTests(IGameDef *gamedef) |
|
|
|
|
|
reinitTestEnv(); |
|
|
TEST(testGetBanDescription); |
|
|
|
|
|
// Delete leftover files |
|
|
reinitTestEnv(); |
|
|
} |
|
|
|
|
|
// This module is stateful due to disk writes, add helper to remove files |
|
|