mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-08-01 03:34:45 +02:00
Remove capacity from JsonDocument
's constructor
This commit is contained in:
@@ -7,11 +7,9 @@
|
||||
|
||||
#include "Allocators.hpp"
|
||||
|
||||
using ArduinoJson::detail::sizeofArray;
|
||||
|
||||
TEST_CASE("JsonDocument::overflowed()") {
|
||||
TimebombAllocator allocator(10);
|
||||
JsonDocument doc(0, &allocator);
|
||||
JsonDocument doc(&allocator);
|
||||
|
||||
SECTION("returns false on a fresh object") {
|
||||
allocator.setCountdown(0);
|
||||
|
Reference in New Issue
Block a user