Skip to content
Permalink
Browse files

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

  • Loading branch information
ClobberXD committed Jun 5, 2020
1 parent 87b25e5 commit 08c0b7696a8b15759c8fc203cc90fde21c2c76a9
Showing with 3 additions and 0 deletions.
  1. +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

0 comments on commit 08c0b76

Please sign in to comment.
You can’t perform that action at this time.