Remove StaticJsonDocument

This commit is contained in:
Benoit Blanchon committed 2023-03-20 10:40:35 +01:00
1 parent 5edd435fe9
commit 17a482a9b1
66 files changed
+477 -1728

No files matched your search

+2 -2
View File
@@ -71,13 +71,13 @@ TEST_CASE("JsonVariant::isNull()") {
}
SECTION("returns true for a shallow null copy") {
StaticJsonDocument<128> doc2;
DynamicJsonDocument doc2(128);
variant.shallowCopy(doc2);
CHECK(variant.isNull() == true);
}
SECTION("returns false for a shallow array copy") {
StaticJsonDocument<128> doc2;
DynamicJsonDocument doc2(128);
doc2[0] = 42;
variant.shallowCopy(doc2);
CHECK(variant.isNull() == false);