-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a unit test including windows.h (#3631)
- Loading branch information
1 parent
19e4c2b
commit 66c8bb5
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
} |