TestBan: Clean up properly after completing test (#9994)

This commit is contained in:
ANAND 2020-06-05 23:34:14 +05:30 committed by GitHub
parent 87b25e583d
commit 08c0b7696a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -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