mirror of
https://github.com/nlohmann/json.git
synced 2026-05-30 10:05:24 +00:00
🎨 use Clang-Format
This commit is contained in:
@@ -21,12 +21,10 @@ TEST_CASE("version information")
|
||||
CHECK(j["copyright"] == "(C) 2013-2023 Niels Lohmann");
|
||||
CHECK(j["url"] == "https://github.com/nlohmann/json");
|
||||
CHECK(j["version"] == json(
|
||||
{
|
||||
{"string", "3.11.3"},
|
||||
{"major", 3},
|
||||
{"minor", 11},
|
||||
{"patch", 3}
|
||||
}));
|
||||
{{"string", "3.11.3"},
|
||||
{"major", 3},
|
||||
{"minor", 11},
|
||||
{"patch", 3}}));
|
||||
|
||||
CHECK(j.find("platform") != j.end());
|
||||
CHECK(j.at("compiler").find("family") != j.at("compiler").end());
|
||||
|
||||
Reference in New Issue
Block a user