summaryrefslogtreecommitdiff
path: root/src/fs/virtfs/zip_unittest.cc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-08 01:22:43 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-08 01:22:43 +0300
commit34a83475636164cf43551d9ec83ec30da5a7e7f2 (patch)
treec6b3e22f789422e06a96c2ca87dd94fc61eb1dd1 /src/fs/virtfs/zip_unittest.cc
parentaf4fcff19a986990d58c50c62bc498690c8293b8 (diff)
downloadplus-34a83475636164cf43551d9ec83ec30da5a7e7f2.tar.gz
plus-34a83475636164cf43551d9ec83ec30da5a7e7f2.tar.bz2
plus-34a83475636164cf43551d9ec83ec30da5a7e7f2.tar.xz
plus-34a83475636164cf43551d9ec83ec30da5a7e7f2.zip
Replace size() to empty() where is possible
Diffstat (limited to 'src/fs/virtfs/zip_unittest.cc')
-rw-r--r--src/fs/virtfs/zip_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/virtfs/zip_unittest.cc b/src/fs/virtfs/zip_unittest.cc
index 52629d482..0aa26595f 100644
--- a/src/fs/virtfs/zip_unittest.cc
+++ b/src/fs/virtfs/zip_unittest.cc
@@ -162,7 +162,7 @@ TEST_CASE("Zip readArchiveInfo", "")
REQUIRE(VirtFs::ZipReader::readArchiveInfo(entry));
REQUIRE(entry->root == name);
- REQUIRE(headers.size() == 0);
+ REQUIRE(headers.empty());
delete entry;
}