Remove JsonDocument::garbageCollect()

This commit is contained in:
Benoit Blanchon
2023-07-25 14:37:25 +02:00
parent 00c9d8680a
commit a8329564e2
5 changed files with 1 additions and 69 deletions

View File

@ -80,11 +80,4 @@ TEST_CASE("JsonDocument::overflowed()") {
doc.shrinkToFit();
CHECK(doc.overflowed() == true);
}
SECTION("return false after garbageCollect()") {
allocator.setCountdown(0);
doc.add(0);
doc.garbageCollect();
CHECK(doc.overflowed() == false);
}
}