mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2026-04-29 02:24:09 +02:00
Remove capacity from JsonDocument's constructor
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#include <catch.hpp>
|
||||
|
||||
TEST_CASE("ARDUINOJSON_USE_DOUBLE == 1") {
|
||||
JsonDocument doc(4096);
|
||||
JsonDocument doc;
|
||||
JsonObject root = doc.to<JsonObject>();
|
||||
|
||||
root["pi"] = 3.14;
|
||||
|
||||
Reference in New Issue
Block a user