mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-16 03:52:16 +02:00
Remove memoryUsage()
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user