Remove JsonDocument::garbageCollect()

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

No files matched your search

-7
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);
}
}