forked from bblanchon/ArduinoJson
Return JsonArray
and JsonObject
by value (closes #309)
This commit is contained in:
@ -7,9 +7,9 @@
|
||||
|
||||
TEST_CASE("JsonObject basics") {
|
||||
DynamicJsonDocument doc;
|
||||
JsonObject& obj = doc.to<JsonObject>();
|
||||
JsonObject obj = doc.to<JsonObject>();
|
||||
|
||||
SECTION("SuccessIsTrue") {
|
||||
REQUIRE(obj.success());
|
||||
SECTION("isNull()") {
|
||||
REQUIRE(obj.isNull() == false);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user