mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-22 14:57:33 +02:00
Disambiguated the name get()
with getElement()
and getMember()
This commit is contained in:
@ -12,13 +12,6 @@ TEST_CASE("JsonVariant::add()") {
|
||||
DynamicJsonDocument doc(4096);
|
||||
JsonVariant var = doc.to<JsonVariant>();
|
||||
|
||||
SECTION("No argument") {
|
||||
JsonVariant nested = var.add();
|
||||
|
||||
REQUIRE(var.is<JsonArray>() == true);
|
||||
REQUIRE(nested.isNull() == true);
|
||||
}
|
||||
|
||||
SECTION("integer") {
|
||||
var.add(42);
|
||||
|
||||
|
Reference in New Issue
Block a user