mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-23 07:17:30 +02:00
Added JsonArrayConst
, JsonObjectConst
, and JsonVariantConst
This commit is contained in:
@ -32,15 +32,7 @@ TEST_CASE("JsonVariant undefined") {
|
||||
REQUIRE(variant.as<JsonArray>().isNull());
|
||||
}
|
||||
|
||||
SECTION("as<const JsonArray>()") {
|
||||
REQUIRE(variant.as<const JsonArray>().isNull());
|
||||
}
|
||||
|
||||
SECTION("as<JsonObject>()") {
|
||||
REQUIRE(variant.as<JsonObject>().isNull());
|
||||
}
|
||||
|
||||
SECTION("as<const JsonObject>()") {
|
||||
REQUIRE(variant.as<const JsonObject>().isNull());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user