Skip to content

Commit

Permalink
Add a unit test including windows.h (#3631)
Browse files Browse the repository at this point in the history
  • Loading branch information
falbrechtskirchinger authored Jul 31, 2022
1 parent 19e4c2b commit 66c8bb5
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions tests/src/unit-windows_h.cpp
Original file line number Diff line number Diff line change
@@ -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);
}

0 comments on commit 66c8bb5

Please sign in to comment.