1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-25 13:41:56 +03:00

🔖 set version to 3.0.0

This commit is contained in:
Niels Lohmann
2017-12-17 08:31:18 +01:00
parent 314e4e7699
commit 9e3c4ad11f
47 changed files with 451 additions and 56 deletions

View File

@ -1,7 +1,7 @@
/*
__ _____ _____ _____
__| | __| | | | JSON for Modern C++ (test suite)
| | |__ | | | | | | version 2.1.1
| | |__ | | | | | | version 3.0.0
|_____|_____|_____|_|___| https://github.com/nlohmann/json
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
@ -42,10 +42,10 @@ TEST_CASE("version information")
CHECK(j["url"] == "https://github.com/nlohmann/json");
CHECK(j["version"] == json(
{
{"string", "2.1.1"},
{"major", 2},
{"minor", 1},
{"patch", 1}
{"string", "3.0.0"},
{"major", 3},
{"minor", 0},
{"patch", 0}
}));
CHECK(j.find("platform") != j.end());