summaryrefslogtreecommitdiff
path: root/src/unittests
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-09-19 00:46:01 +0300
committerAndrei Karas <akaras@inbox.ru>2018-09-20 00:29:05 +0300
commit12f8e2e0f425169b400bd6e31f365b472a0f5754 (patch)
treee068fc3767bd52269cc357a75bb8676b3d7d4266 /src/unittests
parent811d1c4b4097d87a6e69cad4915cb624020fd450 (diff)
downloadplus-12f8e2e0f425169b400bd6e31f365b472a0f5754.tar.gz
plus-12f8e2e0f425169b400bd6e31f365b472a0f5754.tar.bz2
plus-12f8e2e0f425169b400bd6e31f365b472a0f5754.tar.xz
plus-12f8e2e0f425169b400bd6e31f365b472a0f5754.zip
Remove ifdef from some virtfs tests on windows.
Diffstat (limited to 'src/unittests')
-rw-r--r--src/unittests/fs/virtfs/virtfs2.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/unittests/fs/virtfs/virtfs2.cc b/src/unittests/fs/virtfs/virtfs2.cc
index 111e3ba44..e801a1bc2 100644
--- a/src/unittests/fs/virtfs/virtfs2.cc
+++ b/src/unittests/fs/virtfs/virtfs2.cc
@@ -1555,16 +1555,10 @@ TEST_CASE("VirtFs2 getFilesWithDir2", "")
list.clear();
VirtFs::getFilesWithDir(pathJoin("evol", "icons"), list);
-#ifdef WIN32
- REQUIRE(list.size() == 1);
- REQUIRE(inList(list, pathJoin("evol", "icons"), "evol-client.ico"));
-#else // WIN32
-
REQUIRE(list.size() == 3);
REQUIRE(inList(list, pathJoin("evol", "icons"), "evol-client.ico"));
REQUIRE(inList(list, pathJoin("evol", "icons"), "evol-client.png"));
REQUIRE(inList(list, pathJoin("evol", "icons"), "evol-client.xpm"));
-#endif // WIN32
VirtFs::unmountDir(prefix + "data");
}