From 1d5721f3bde4a873b280bc5b945a341fc4ee03ee Mon Sep 17 00:00:00 2001 From: Benoit Blanchon Date: Thu, 28 Feb 2019 09:32:56 +0100 Subject: [PATCH] Add an empty cpp file to detect warnings muted by catch.hpp --- test/Misc/CMakeLists.txt | 1 + test/Misc/empty.cpp | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 test/Misc/empty.cpp diff --git a/test/Misc/CMakeLists.txt b/test/Misc/CMakeLists.txt index 68d44c8f..65c35d6f 100644 --- a/test/Misc/CMakeLists.txt +++ b/test/Misc/CMakeLists.txt @@ -3,6 +3,7 @@ # MIT License add_executable(MiscTests + empty.cpp FloatParts.cpp StringWriter.cpp TypeTraits.cpp diff --git a/test/Misc/empty.cpp b/test/Misc/empty.cpp new file mode 100644 index 00000000..b1436217 --- /dev/null +++ b/test/Misc/empty.cpp @@ -0,0 +1,7 @@ +// ArduinoJson - arduinojson.org +// Copyright Benoit Blanchon 2014-2019 +// MIT License + +// catch.hpp mutes several warnings, this file allows to detect them + +#include "ArduinoJson.h"