Remove memoryUsage()

This commit is contained in:
Benoit Blanchon committed 2023-07-24 17:21:25 +02:00
1 parent 2fdacb1ca0
commit 00c9d8680a
43 files changed
+1173 -567

No files matched your search

@@ -51,7 +51,6 @@ TEST_CASE("serialize JsonObject to std::string") {
TEST_CASE("serialize an std::string containing a NUL") {
JsonDocument doc;
doc.set(std::string("hello\0world", 11));
CHECK(doc.memoryUsage() == sizeofString(11));
std::string json;
serializeJson(doc, json);