Return JsonArray and JsonObject by value (closes #309)

This commit is contained in:
Benoit Blanchon committed 2018-07-02 09:35:21 +02:00
1 parent 4fe2b1100e
commit b105e6f7c4
93 files changed
+983 -1091

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@
TEST_CASE("JsonArray::size()") {
DynamicJsonDocument doc;
JsonArray& _array = doc.to<JsonArray>();
JsonArray _array = doc.to<JsonArray>();
SECTION("increases after add()") {
_array.add("hello");