forked from bblanchon/ArduinoJson
Remove capacity from JsonDocument's constructor
This commit is contained in:
1 parent
42b2840009
commit
0f319e7ca4
162 files changed
+438
-500
No files matched your search
@@ -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