🚧 renamed version() to meta()

This commit is contained in:
Niels Lohmann 2017-01-08 09:19:44 +01:00
parent e1b89dd1d6
commit dd45ba6f89
3 changed files with 10 additions and 9 deletions

View file

@ -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++");
}
}