diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-04-29 22:25:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-04-29 22:25:58 +0300 |
commit | 2a650cde8aa92a3715e3d0f8e364e0ce1d4d85e8 (patch) | |
tree | 6d6655857e90da1e6419b4a1382f842170959c1f /src | |
parent | e518ff4c05e514ac0a0aafc57628f1159a485f82 (diff) | |
download | manaplus-2a650cde8aa92a3715e3d0f8e364e0ce1d4d85e8.tar.gz manaplus-2a650cde8aa92a3715e3d0f8e364e0ce1d4d85e8.tar.bz2 manaplus-2a650cde8aa92a3715e3d0f8e364e0ce1d4d85e8.tar.xz manaplus-2a650cde8aa92a3715e3d0f8e364e0ce1d4d85e8.zip |
Fix unit tests compilation.
Diffstat (limited to 'src')
-rw-r--r-- | src/fs/files_unittest.cc | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/fs/files_unittest.cc b/src/fs/files_unittest.cc index 1cdb5589a..f44cadb7b 100644 --- a/src/fs/files_unittest.cc +++ b/src/fs/files_unittest.cc @@ -217,11 +217,12 @@ TEST_CASE("Files getFilesInDir") list, ".xml"); REQUIRE(list.size() == 5); - 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"); + 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"); |