mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-24 07:47:32 +02:00
Remove JsonDocument::capacity()
This commit is contained in:
@ -19,9 +19,7 @@ TEST_CASE("std::swap") {
|
||||
|
||||
swap(doc1, doc2);
|
||||
|
||||
CHECK(doc1.capacity() == 0x20);
|
||||
CHECK(doc1.as<string>() == "world");
|
||||
CHECK(doc2.capacity() == 0x10);
|
||||
CHECK(doc2.as<string>() == "hello");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user