summaryrefslogtreecommitdiff
path: root/src/fs/virtfs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-30 00:45:10 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-30 00:45:10 +0300
commit9359de081508e8494fe137b49264a032f44f12ac (patch)
tree58c54ff3e6a85f2198eb9c2f43d5ac8cdaf0dd5e /src/fs/virtfs
parent2a650cde8aa92a3715e3d0f8e364e0ce1d4d85e8 (diff)
downloadplus-9359de081508e8494fe137b49264a032f44f12ac.tar.gz
plus-9359de081508e8494fe137b49264a032f44f12ac.tar.bz2
plus-9359de081508e8494fe137b49264a032f44f12ac.tar.xz
plus-9359de081508e8494fe137b49264a032f44f12ac.zip
Anothe possible fix for windows unit tests.
Diffstat (limited to 'src/fs/virtfs')
-rw-r--r--src/fs/virtfs/virtfs1_unittest.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fs/virtfs/virtfs1_unittest.cc b/src/fs/virtfs/virtfs1_unittest.cc
index a3b1b56cc..0be1db81e 100644
--- a/src/fs/virtfs/virtfs1_unittest.cc
+++ b/src/fs/virtfs/virtfs1_unittest.cc
@@ -2061,10 +2061,10 @@ TEST_CASE("VirtFs1 getFilesWithDir1")
REQUIRE(inList(list, "dir2", "units.xml"));
list.clear();
- VirtFs::getFilesWithDir("/", list);
+ VirtFs::getFilesWithDir(dirSeparator, list);
REQUIRE(list.size() > 2);
- REQUIRE(inList(list, "/", "test.txt"));
- REQUIRE(inList(list, "/", "units.xml"));
+ REQUIRE(inList(list, dirSeparator, "test.txt"));
+ REQUIRE(inList(list, dirSeparator, "units.xml"));
list.clear();
VirtFs::unmountZip(prefix + "data/test/test2.zip");