mirror of
https://github.com/nlohmann/json.git
synced 2026-02-26 13:26:28 +00:00
🚧 renamed version() to meta()
This commit is contained in:
@@ -35,6 +35,7 @@ TEST_CASE("version information")
|
||||
{
|
||||
SECTION("version()")
|
||||
{
|
||||
CHECK(json::version()["name"] == "JSON for Modern C++");
|
||||
CHECK(json::meta()["name"] == "JSON for Modern C++");
|
||||
CHECK(json::meta()["compiler"] == "JSON for Modern C++");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user