summaryrefslogtreecommitdiff
path: root/src/resources/dye/dyepalette_unittest.cc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-02 05:18:37 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-02 05:18:37 +0300
commit22a2c48a263c67ab3418c22a88cec67e5c1d318c (patch)
tree5e1685b0ec799dcaf52dd87bafbdafe7421943f9 /src/resources/dye/dyepalette_unittest.cc
parent4b1ca08f26152fbcfb5eb838d271fdd88c381eca (diff)
downloadmanaverse-22a2c48a263c67ab3418c22a88cec67e5c1d318c.tar.gz
manaverse-22a2c48a263c67ab3418c22a88cec67e5c1d318c.tar.bz2
manaverse-22a2c48a263c67ab3418c22a88cec67e5c1d318c.tar.xz
manaverse-22a2c48a263c67ab3418c22a88cec67e5c1d318c.zip
Fix tests failure in physfs deinit.
Diffstat (limited to 'src/resources/dye/dyepalette_unittest.cc')
-rw-r--r--src/resources/dye/dyepalette_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/dye/dyepalette_unittest.cc b/src/resources/dye/dyepalette_unittest.cc
index 7df69e952..3fdcfb1ff 100644
--- a/src/resources/dye/dyepalette_unittest.cc
+++ b/src/resources/dye/dyepalette_unittest.cc
@@ -383,11 +383,11 @@ TEST_CASE("DyePalette tests")
REQUIRE(palette.mColors[0].value[2] == 46);
REQUIRE(palette.mColors[0].value[3] == 0x77);
}
- delete2(client);
VirtFs::removeDirFromSearchPath("data");
VirtFs::removeDirFromSearchPath("../data");
VirtFs::removeDirFromSearchPath("data/test");
VirtFs::removeDirFromSearchPath("../data/test");
+ delete2(client);
delete2(logger);
// VirtFs::deinit();
}