diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-02-23 23:02:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-02-23 23:02:52 +0300 |
commit | b882d8c240a1667a820adb703d3f7c84dfcd61c2 (patch) | |
tree | 6151b93d6c8d9c39447ac37d6e109be5a2a741c9 /src/fs/virtfsdir_unittest.cc | |
parent | e5071983c6d0281a92d79daae2f40252b67c1296 (diff) | |
download | plus-b882d8c240a1667a820adb703d3f7c84dfcd61c2.tar.gz plus-b882d8c240a1667a820adb703d3f7c84dfcd61c2.tar.bz2 plus-b882d8c240a1667a820adb703d3f7c84dfcd61c2.tar.xz plus-b882d8c240a1667a820adb703d3f7c84dfcd61c2.zip |
Add support for parsing zip archives.
Also add unit tests for test it.
Diffstat (limited to 'src/fs/virtfsdir_unittest.cc')
-rw-r--r-- | src/fs/virtfsdir_unittest.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fs/virtfsdir_unittest.cc b/src/fs/virtfsdir_unittest.cc index 91c573f61..df596712b 100644 --- a/src/fs/virtfsdir_unittest.cc +++ b/src/fs/virtfsdir_unittest.cc @@ -387,8 +387,8 @@ TEST_CASE("VirtFsDir enumerateFiles1") VirtList *list = nullptr; - const int cnt1 = VirtFsDir::exists("test/test2.txt") ? 24 : 23; - const int cnt2 = 24; + const int cnt1 = VirtFsDir::exists("test/test2.txt") ? 27 : 26; + const int cnt2 = 27; VirtFsDir::permitLinks(false); list = VirtFsDir::enumerateFiles("test"); @@ -616,8 +616,8 @@ TEST_CASE("VirtFsDir permitLinks") Append_false, SkipError_false); - const int cnt1 = VirtFsDir::exists("test/test2.txt") ? 22 : 21; - const int cnt2 = 22; + const int cnt1 = VirtFsDir::exists("test/test2.txt") ? 25 : 24; + const int cnt2 = 25; StringVect list; VirtFsDir::permitLinks(false); |