Improved coverage of JsonObject

This commit is contained in:
Benoit Blanchon
2020-02-23 13:03:14 +01:00
parent a471aed6db
commit 0214c9bcad
4 changed files with 47 additions and 0 deletions

View File

@ -69,4 +69,9 @@ TEST_CASE("JsonObject::remove()") {
REQUIRE("{\"a\":0,\"c\":2}" == result);
}
#endif
SECTION("should work on null object") {
JsonObject null;
null.remove("key");
}
}