mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-11-02 15:41:37 +01:00
Remove capacity from JsonDocument's constructor
This commit is contained in:
@@ -42,7 +42,7 @@ class ArmoredAllocator : public Allocator {
|
||||
TEST_CASE("JsonDocument::shrinkToFit()") {
|
||||
ArmoredAllocator armoredAllocator;
|
||||
SpyingAllocator spyingAllocator(&armoredAllocator);
|
||||
JsonDocument doc(4096, &spyingAllocator);
|
||||
JsonDocument doc(&spyingAllocator);
|
||||
|
||||
SECTION("null") {
|
||||
doc.shrinkToFit();
|
||||
|
||||
Reference in New Issue
Block a user