diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-02 05:18:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-02 05:18:37 +0300 |
commit | 22a2c48a263c67ab3418c22a88cec67e5c1d318c (patch) | |
tree | 5e1685b0ec799dcaf52dd87bafbdafe7421943f9 /src/gui/windowmanager_unittest.cc | |
parent | 4b1ca08f26152fbcfb5eb838d271fdd88c381eca (diff) | |
download | mv-22a2c48a263c67ab3418c22a88cec67e5c1d318c.tar.gz mv-22a2c48a263c67ab3418c22a88cec67e5c1d318c.tar.bz2 mv-22a2c48a263c67ab3418c22a88cec67e5c1d318c.tar.xz mv-22a2c48a263c67ab3418c22a88cec67e5c1d318c.zip |
Fix tests failure in physfs deinit.
Diffstat (limited to 'src/gui/windowmanager_unittest.cc')
-rw-r--r-- | src/gui/windowmanager_unittest.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/windowmanager_unittest.cc b/src/gui/windowmanager_unittest.cc index 38471370d..638b2c5b6 100644 --- a/src/gui/windowmanager_unittest.cc +++ b/src/gui/windowmanager_unittest.cc @@ -685,15 +685,15 @@ TEST_CASE("Windows tests", "windowmanager") delete2(localPlayer); delete2(userPalette); + VirtFs::removeDirFromSearchPath("data"); + VirtFs::removeDirFromSearchPath("../data"); + VirtFs::removeDirFromSearchPath("data/test"); + VirtFs::removeDirFromSearchPath("../data/test"); delete2(client); delete2(serverFeatures); delete2(inventoryHandler); delete2(charServerHandler); delete2(playerHandler); - VirtFs::removeDirFromSearchPath("data"); - VirtFs::removeDirFromSearchPath("../data"); - VirtFs::removeDirFromSearchPath("data/test"); - VirtFs::removeDirFromSearchPath("../data/test"); delete2(logger); // VirtFs::deinit(); |