diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-01 04:50:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-01 04:50:26 +0300 |
commit | 7df01a8695e46e7e8cce603782f0e16caf54169b (patch) | |
tree | 030a0125429c9605c24ad74e3d523fd900f155cd /src/utils/stringutils_unittest.cc | |
parent | 0f172abb004bed203f8bf329e4f43eb174a8a58c (diff) | |
download | manaplus-7df01a8695e46e7e8cce603782f0e16caf54169b.tar.gz manaplus-7df01a8695e46e7e8cce603782f0e16caf54169b.tar.bz2 manaplus-7df01a8695e46e7e8cce603782f0e16caf54169b.tar.xz manaplus-7df01a8695e46e7e8cce603782f0e16caf54169b.zip |
Fix tests running without physfs.
Diffstat (limited to 'src/utils/stringutils_unittest.cc')
-rw-r--r-- | src/utils/stringutils_unittest.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/utils/stringutils_unittest.cc b/src/utils/stringutils_unittest.cc index 82a15fdff..b0fdbf0de 100644 --- a/src/utils/stringutils_unittest.cc +++ b/src/utils/stringutils_unittest.cc @@ -1615,9 +1615,13 @@ TEST_CASE("stringuntils replaceItemLinks") REQUIRE(str == "[[test name 1 ,test name2[] test name 1]"); } ResourceManager::deleteInstance(); - delete2(logger); delete_all(infos); infos.clear(); namedInfos.clear(); + VirtFs::removeDirFromSearchPath("data"); + VirtFs::removeDirFromSearchPath("../data"); + VirtFs::removeDirFromSearchPath("data/test"); + VirtFs::removeDirFromSearchPath("../data/test"); + delete2(logger); // VirtFs::deinit(); } |