summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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");