mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-16 20:12:16 +02:00
Remove StaticJsonDocument
This commit is contained in:
@ -14,7 +14,7 @@ TEST_CASE("JsonArray::clear()") {
|
||||
}
|
||||
|
||||
SECTION("Removes all elements") {
|
||||
StaticJsonDocument<64> doc;
|
||||
DynamicJsonDocument doc(64);
|
||||
JsonArray array = doc.to<JsonArray>();
|
||||
array.add(1);
|
||||
array.add(2);
|
||||
|
Reference in New Issue
Block a user