forked from bblanchon/ArduinoJson
Remove JsonDocument::capacity()
This commit is contained in:
1 parent
6afa6b647c
commit
c4b879645a
9 files changed
+130
-94
No files matched your search
@@ -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