mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-11-01 23:21:38 +01:00
Remove capacity from JsonDocument's constructor
This commit is contained in:
@@ -14,7 +14,7 @@ TEST_CASE("JsonObject::clear()") {
|
||||
}
|
||||
|
||||
SECTION("Removes all elements") {
|
||||
JsonDocument doc(64);
|
||||
JsonDocument doc;
|
||||
JsonObject obj = doc.to<JsonObject>();
|
||||
obj["hello"] = 1;
|
||||
obj["world"] = 2;
|
||||
|
||||
Reference in New Issue
Block a user