Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
TestBan: Clean up properly after completing test (#9994)
  • Loading branch information
ClobberXD committed Jun 5, 2020
1 parent 87b25e5 commit 08c0b76
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/unittest/test_ban.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 08c0b76

Please sign in to comment.