diff options
Diffstat (limited to 'src/fs/files_unittest.cc')
-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"); |