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.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/integrity_unittest.cc b/src/integrity_unittest.cc
index 7bb07d94f..a65e9a7ef 100644
--- a/src/integrity_unittest.cc
+++ b/src/integrity_unittest.cc
@@ -51,6 +51,10 @@
#include <SDL_image.h>
+#ifndef UNITTESTS_CATCH
+#include <algorithm>
+#endif // UNITTESTS_CATCH
+
#include "debug.h"
namespace
@@ -96,7 +100,7 @@ static bool compareBuffers(const unsigned char *const buf2)
return isCorrect;
}
-TEST_CASE("integrity leak test1")
+TEST_CASE("integrity leak test1", "")
{
logger = new Logger();
REQUIRE(gui == nullptr);
@@ -348,7 +352,7 @@ TEST_CASE("integrity tests", "integrity")
// VirtFs::deinit();
}
-TEST_CASE("integrity leak test2")
+TEST_CASE("integrity leak test2", "")
{
logger = new Logger();
REQUIRE(gui == nullptr);