summaryrefslogtreecommitdiff
path: root/src/unittests/fs/virtfs/zip.cc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-30 04:35:10 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-30 04:35:10 +0300
commit028120afb03b1acee59fad9a2240f8b80c97bc67 (patch)
tree124d53db3ff1780cdda748c309243886d16d680c /src/unittests/fs/virtfs/zip.cc
parent3bad25f9be2ce5ee41849e2ceab837654b58567d (diff)
downloadmanaplus-028120afb03b1acee59fad9a2240f8b80c97bc67.tar.gz
manaplus-028120afb03b1acee59fad9a2240f8b80c97bc67.tar.bz2
manaplus-028120afb03b1acee59fad9a2240f8b80c97bc67.tar.xz
manaplus-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.cc10
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";