summaryrefslogtreecommitdiff
path: root/src/integrity_unittest.cc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-11 21:39:42 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-11 21:39:42 +0300
commita721e4898f71a68ecb916940864599d462880e5b (patch)
tree50442e8b86707221f498ea0f304a5314a0e67430 /src/integrity_unittest.cc
parent81b97b30afa0c72e5ff17162c7d1fa88dd6187fb (diff)
downloadplus-a721e4898f71a68ecb916940864599d462880e5b.tar.gz
plus-a721e4898f71a68ecb916940864599d462880e5b.tar.bz2
plus-a721e4898f71a68ecb916940864599d462880e5b.tar.xz
plus-a721e4898f71a68ecb916940864599d462880e5b.zip
Fix different issues found by automatic checks.
Diffstat (limited to 'src/integrity_unittest.cc')
-rw-r--r--src/integrity_unittest.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/integrity_unittest.cc b/src/integrity_unittest.cc
index a585570cd..fd01ce171 100644
--- a/src/integrity_unittest.cc
+++ b/src/integrity_unittest.cc
@@ -262,7 +262,7 @@ TEST_CASE("integrity tests", "integrity")
SDL_RWclose(rw);
VirtFs::unmountZip(prefix + "data/test/test.zip");
VirtFs::mountDirSilent(prefix + "data/test", Append_true);
- REQUIRE(compareBuffers(buf) == true);
+ REQUIRE(compareBuffers(buf));
VirtFs::unmountDirSilent(prefix + "data/test");
}
@@ -409,7 +409,7 @@ TEST_CASE("integrity tests", "integrity")
VirtFs::unmountZip("../data/test/test.zip");
VirtFs::mountDirSilent("data/test", Append_true);
VirtFs::mountDirSilent("../data/test", Append_true);
- REQUIRE(compareBuffers(buf) == true);
+ REQUIRE(compareBuffers(buf));
VirtFs::unmountDirSilent("data/test");
VirtFs::unmountDirSilent("../data/test");
}
@@ -447,7 +447,7 @@ TEST_CASE("integrity tests", "integrity")
VirtFs::unmountZip(prefix + "data/test/test.zip");
VirtFs::mountDirSilent("data/test", Append_true);
VirtFs::mountDirSilent("../data/test", Append_true);
- REQUIRE(compareBuffers(buf) == true);
+ REQUIRE(compareBuffers(buf));
VirtFs::unmountDirSilent("data/test");
VirtFs::unmountDirSilent("../data/test");
}