diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-30 04:35:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-30 04:35:10 +0300 |
commit | 028120afb03b1acee59fad9a2240f8b80c97bc67 (patch) | |
tree | 124d53db3ff1780cdda748c309243886d16d680c /src/unittests/fs/virtfs/zip.cc | |
parent | 3bad25f9be2ce5ee41849e2ceab837654b58567d (diff) | |
download | plus-028120afb03b1acee59fad9a2240f8b80c97bc67.tar.gz plus-028120afb03b1acee59fad9a2240f8b80c97bc67.tar.bz2 plus-028120afb03b1acee59fad9a2240f8b80c97bc67.tar.xz plus-028120afb03b1acee59fad9a2240f8b80c97bc67.zip |
Fix memory leaks in unit tests.
Diffstat (limited to 'src/unittests/fs/virtfs/zip.cc')
-rw-r--r-- | src/unittests/fs/virtfs/zip.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/unittests/fs/virtfs/zip.cc b/src/unittests/fs/virtfs/zip.cc index 6ea9063fe..50e0b2672 100644 --- a/src/unittests/fs/virtfs/zip.cc +++ b/src/unittests/fs/virtfs/zip.cc @@ -178,11 +178,6 @@ TEST_CASE("Zip readCompressedFile", "") if (Files::existsLocal(name) == false) prefix = "../"; - SECTION("empty") - { - REQUIRE_THROWS(VirtFs::ZipReader::readCompressedFile(nullptr)); - } - SECTION("test2.zip") { name = prefix + "data/test/test2.zip"; @@ -213,11 +208,6 @@ TEST_CASE("Zip readFile", "") if (Files::existsLocal(name) == false) prefix = "../"; - SECTION("empty") - { - REQUIRE_THROWS(VirtFs::ZipReader::readFile(nullptr)); - } - SECTION("test.zip") { name = prefix + "data/test/test.zip"; |