summaryrefslogtreecommitdiff
path: root/src/integrity_unittest.cc
diff options
context:
space:
mode:
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");
}