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
@@ -11,8 +11,8 @@ using ArduinoJson::detail::sizeofString;
|
||||
TEST_CASE("JsonVariant::set(JsonVariant)") {
|
||||
ControllableAllocator allocator;
|
||||
SpyingAllocator spyingAllocator(&allocator);
|
||||
JsonDocument doc1(4096, &spyingAllocator);
|
||||
JsonDocument doc2(4096, &spyingAllocator);
|
||||
JsonDocument doc1(&spyingAllocator);
|
||||
JsonDocument doc2(&spyingAllocator);
|
||||
JsonVariant var1 = doc1.to<JsonVariant>();
|
||||
JsonVariant var2 = doc2.to<JsonVariant>();
|
||||
|
||||
|
||||
Reference in new issue
Block a user