mirror of
https://github.com/nlohmann/json.git
synced 2025-06-26 23:40:52 +08:00
✅ fix test for meta() function
This commit is contained in:
parent
9c75c7eace
commit
a34070d36a
@ -39,7 +39,7 @@ TEST_CASE("version information")
|
|||||||
json j = json::meta();
|
json j = json::meta();
|
||||||
|
|
||||||
CHECK(j["name"] == "JSON for Modern C++");
|
CHECK(j["name"] == "JSON for Modern C++");
|
||||||
CHECK(j["copyright"] == "(C) 2013-2017 Niels Lohmann");
|
CHECK(j["copyright"] == "(C) 2013-2020 Niels Lohmann");
|
||||||
CHECK(j["url"] == "https://github.com/nlohmann/json");
|
CHECK(j["url"] == "https://github.com/nlohmann/json");
|
||||||
CHECK(j["version"] == json(
|
CHECK(j["version"] == json(
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user