summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-29 01:52:28 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-29 01:52:28 +0300
commitbdd9a94a1150b08db289a3ed26cb5ce734b2b366 (patch)
tree6d59b92e96ffa9a3e67c7b5f71aeb6b2a4edc22d
parentdfefb83dedc4491ace627dc204f841ef8c6d7052 (diff)
downloadmanaplus-bdd9a94a1150b08db289a3ed26cb5ce734b2b366.tar.gz
manaplus-bdd9a94a1150b08db289a3ed26cb5ce734b2b366.tar.bz2
manaplus-bdd9a94a1150b08db289a3ed26cb5ce734b2b366.tar.xz
manaplus-bdd9a94a1150b08db289a3ed26cb5ce734b2b366.zip
Fix another error unit tests on windows.
-rw-r--r--src/fs/files_unittest.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/fs/files_unittest.cc b/src/fs/files_unittest.cc
index 0ede4e7a6..1cdb5589a 100644
--- a/src/fs/files_unittest.cc
+++ b/src/fs/files_unittest.cc
@@ -217,11 +217,11 @@ TEST_CASE("Files getFilesInDir")
list,
".xml");
REQUIRE(list.size() == 5);
- REQUIRE(list[0] == "perserver/default/charcreation.xml");
- REQUIRE(list[1] == "perserver/default/deadmessages.xml");
- REQUIRE(list[2] == "perserver/default/defaultcommands.xml");
- REQUIRE(list[3] == "perserver/default/features.xml");
- REQUIRE(list[4] == "perserver/default/weapons.xml");
+ REQUIRE(list[0] == pathJoin("perserver", "default", "charcreation.xml");
+ REQUIRE(list[1] == pathJoin("perserver", "default", "deadmessages.xml");
+ REQUIRE(list[2] == pathJoin("perserver", "default", "defaultcommands.xml");
+ REQUIRE(list[3] == pathJoin("perserver", "default", "features.xml");
+ REQUIRE(list[4] == pathJoin("perserver", "default", "weapons.xml");
ResourceManager::deleteInstance();
VirtFs::unmountDirSilent("data");
VirtFs::unmountDirSilent("../data");