Skip to content

Commit 08c0b76

Browse files
authoredJun 5, 2020
TestBan: Clean up properly after completing test (#9994)
1 parent 87b25e5 commit 08c0b76

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

Diff for: ‎src/unittest/test_ban.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ void TestBan::runTests(IGameDef *gamedef)
6161

6262
reinitTestEnv();
6363
TEST(testGetBanDescription);
64+
65+
// Delete leftover files
66+
reinitTestEnv();
6467
}
6568

6669
// This module is stateful due to disk writes, add helper to remove files

0 commit comments

Comments
 (0)
Please sign in to comment.