forked from bblanchon/ArduinoJson
Return JsonArray and JsonObject by value (closes #309)
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
|
||||
TEST_CASE("JsonObject::remove()") {
|
||||
DynamicJsonDocument doc;
|
||||
JsonObject& obj = doc.to<JsonObject>();
|
||||
JsonObject obj = doc.to<JsonObject>();
|
||||
|
||||
SECTION("SizeDecreased_WhenValuesAreRemoved") {
|
||||
obj["hello"] = 1;
|
||||
|
||||
Reference in New Issue
Block a user