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/virtfs1_exists.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/virtfs1_exists.cc')
-rw-r--r-- | src/unittests/fs/virtfs/virtfs1_exists.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/unittests/fs/virtfs/virtfs1_exists.cc b/src/unittests/fs/virtfs/virtfs1_exists.cc index 977572677..8f33d11d3 100644 --- a/src/unittests/fs/virtfs/virtfs1_exists.cc +++ b/src/unittests/fs/virtfs/virtfs1_exists.cc @@ -85,8 +85,6 @@ TEST_CASE("VirtFs1 exists1", "") REQUIRE(VirtFs::exists("units.xml") == false); REQUIRE(VirtFs::exists("units.xml/") == false); - REQUIRE_THROWS(VirtFs::exists("test/../units.xml")); - VirtFs::deinit(); delete2(logger); } @@ -156,8 +154,6 @@ TEST_CASE("VirtFs1 exists2", "") REQUIRE(VirtFs::exists("file1.txt") == false); REQUIRE(VirtFs::exists("file2.txt") == false); - REQUIRE_THROWS(VirtFs::exists("test/../units.xml")); - VirtFs::deinit(); delete2(logger); } |