From 66c8bb5b90c472ef4ac234714a6ed53c22058e75 Mon Sep 17 00:00:00 2001 From: Florian Albrechtskirchinger Date: Sun, 31 Jul 2022 07:22:07 +0200 Subject: [PATCH] Add a unit test including windows.h (#3631) --- tests/src/unit-windows_h.cpp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tests/src/unit-windows_h.cpp diff --git a/tests/src/unit-windows_h.cpp b/tests/src/unit-windows_h.cpp new file mode 100644 index 000000000..f1ec7c7fe --- /dev/null +++ b/tests/src/unit-windows_h.cpp @@ -0,0 +1,21 @@ +// __ _____ _____ _____ +// __| | __| | | | JSON for Modern C++ (supporting code) +// | | |__ | | | | | | version 3.10.5 +// |_____|_____|_____|_|___| https://github.com/nlohmann/json +// +// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann +// SPDX-License-Identifier: MIT + +#include "doctest_compatibility.h" + +#ifdef _WIN32 + #include +#endif + +#include +using nlohmann::json; + +TEST_CASE("include windows.h") +{ + CHECK(true); +}