mirror of
https://github.com/nlohmann/json.git
synced 2025-07-25 13:41:56 +03:00
✅ improved test coverage
This commit is contained in:
@ -47,5 +47,10 @@ TEST_CASE("version information")
|
||||
{"minor", 1},
|
||||
{"patch", 1}
|
||||
}));
|
||||
|
||||
CHECK(j.find("platform") != j.end());
|
||||
CHECK(j.at("compiler").find("family") != j.at("compiler").end());
|
||||
CHECK(j.at("compiler").find("version") != j.at("compiler").end());
|
||||
CHECK(j.at("compiler").find("c++") != j.at("compiler").end());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user