diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-04-29 01:52:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-04-29 01:52:28 +0300 |
commit | bdd9a94a1150b08db289a3ed26cb5ce734b2b366 (patch) | |
tree | 6d59b92e96ffa9a3e67c7b5f71aeb6b2a4edc22d | |
parent | dfefb83dedc4491ace627dc204f841ef8c6d7052 (diff) | |
download | plus-bdd9a94a1150b08db289a3ed26cb5ce734b2b366.tar.gz plus-bdd9a94a1150b08db289a3ed26cb5ce734b2b366.tar.bz2 plus-bdd9a94a1150b08db289a3ed26cb5ce734b2b366.tar.xz plus-bdd9a94a1150b08db289a3ed26cb5ce734b2b366.zip |
Fix another error unit tests on windows.
-rw-r--r-- | src/fs/files_unittest.cc | 10 |
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"); |