mirror of
https://github.com/nlohmann/json.git
synced 2026-10-13 01:47:11 +00:00
🚧 renamed version() to meta()
This commit is contained in:
1 parent
e1b89dd1d6
commit
dd45ba6f89
3 files changed
+10
-9
No files matched your search
@@ -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