diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-04-30 00:45:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-04-30 00:45:10 +0300 |
commit | 9359de081508e8494fe137b49264a032f44f12ac (patch) | |
tree | 58c54ff3e6a85f2198eb9c2f43d5ac8cdaf0dd5e /src | |
parent | 2a650cde8aa92a3715e3d0f8e364e0ce1d4d85e8 (diff) | |
download | manaverse-9359de081508e8494fe137b49264a032f44f12ac.tar.gz manaverse-9359de081508e8494fe137b49264a032f44f12ac.tar.bz2 manaverse-9359de081508e8494fe137b49264a032f44f12ac.tar.xz manaverse-9359de081508e8494fe137b49264a032f44f12ac.zip |
Anothe possible fix for windows unit tests.
Diffstat (limited to 'src')
-rw-r--r-- | src/fs/virtfs/virtfs1_unittest.cc | 6 |
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"); |