Add a unit test including windows.h (#3631)

pull/3636/head
Florian Albrechtskirchinger 2022-07-31 07:22:07 +02:00 committed by GitHub
parent 19e4c2bda0
commit 66c8bb5b90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 21 additions and 0 deletions

View File

@ -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 <https://nlohmann.me>
// SPDX-License-Identifier: MIT
#include "doctest_compatibility.h"
#ifdef _WIN32
#include <windows.h>
#endif
#include <nlohmann/json.hpp>
using nlohmann::json;
TEST_CASE("include windows.h")
{
CHECK(true);
}