forked from bblanchon/ArduinoJson
Return JsonArray
and JsonObject
by value (closes #309)
This commit is contained in:
@ -123,8 +123,8 @@ TEST_CASE("JsonVariant set()/get()") {
|
||||
|
||||
SECTION("CanStoreObject") {
|
||||
DynamicJsonDocument doc;
|
||||
JsonObject &object = doc.to<JsonObject>();
|
||||
JsonObject object = doc.to<JsonObject>();
|
||||
|
||||
checkReference<JsonObject>(object);
|
||||
checkValue<JsonObject>(object);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user