summaryrefslogtreecommitdiff
path: root/src/fs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-28 03:46:52 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-28 03:46:52 +0300
commit515323530ba1b93c8d5ba00b015bf55aa0ecb01c (patch)
tree662e057ffe4ee5ca3a0f8253113c4e965aa08dac /src/fs
parent91f160c8dd9ddc8e562a3507bc1f7dace3fc35ef (diff)
downloadmanaplus-515323530ba1b93c8d5ba00b015bf55aa0ecb01c.tar.gz
manaplus-515323530ba1b93c8d5ba00b015bf55aa0ecb01c.tar.bz2
manaplus-515323530ba1b93c8d5ba00b015bf55aa0ecb01c.tar.xz
manaplus-515323530ba1b93c8d5ba00b015bf55aa0ecb01c.zip
Fix unit tests on windows.
Diffstat (limited to 'src/fs')
-rw-r--r--src/fs/files_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/files_unittest.cc b/src/fs/files_unittest.cc
index 34a01983d..0ede4e7a6 100644
--- a/src/fs/files_unittest.cc
+++ b/src/fs/files_unittest.cc
@@ -210,7 +210,7 @@ TEST_CASE("Files getFilesInDir")
list,
".gpl");
REQUIRE(list.size() == 1);
- REQUIRE(list[0] == "test/palette.gpl");
+ REQUIRE(list[0] == pathJoin("test", "palette.gpl"));
list.clear();
VirtFs::getFilesInDir("perserver/default",