mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 00:38:27 +01:00
Removed default capacity of DynamicJsonDocument
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
#include <string>
|
||||
|
||||
TEST_CASE("JsonObject::remove()") {
|
||||
DynamicJsonDocument doc;
|
||||
DynamicJsonDocument doc(4096);
|
||||
JsonObject obj = doc.to<JsonObject>();
|
||||
obj["a"] = 0;
|
||||
obj["b"] = 1;
|
||||
|
||||
Reference in New Issue
Block a user