mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-16 12:02:14 +02:00
Remove createNestedArray()
and createNestedObject()
This commit is contained in:
@ -24,12 +24,12 @@ TEST_CASE("JsonArray::nesting()") {
|
||||
}
|
||||
|
||||
SECTION("returns 2 with nested array") {
|
||||
arr.createNestedArray();
|
||||
arr.add<JsonArray>();
|
||||
REQUIRE(arr.nesting() == 2);
|
||||
}
|
||||
|
||||
SECTION("returns 2 with nested object") {
|
||||
arr.createNestedObject();
|
||||
arr.add<JsonObject>();
|
||||
REQUIRE(arr.nesting() == 2);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user