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
@@ -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