summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-29 22:25:58 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-29 22:25:58 +0300
commit2a650cde8aa92a3715e3d0f8e364e0ce1d4d85e8 (patch)
tree6d6655857e90da1e6419b4a1382f842170959c1f
parente518ff4c05e514ac0a0aafc57628f1159a485f82 (diff)
downloadplus-2a650cde8aa92a3715e3d0f8e364e0ce1d4d85e8.tar.gz
plus-2a650cde8aa92a3715e3d0f8e364e0ce1d4d85e8.tar.bz2
plus-2a650cde8aa92a3715e3d0f8e364e0ce1d4d85e8.tar.xz
plus-2a650cde8aa92a3715e3d0f8e364e0ce1d4d85e8.zip
Fix unit tests compilation.
-rw-r--r--src/fs/files_unittest.cc11
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");