forked from bblanchon/ArduinoJson
Added JsonArrayConst, JsonObjectConst, and JsonVariantConst
This commit is contained in:
1 parent
d1003ff6c9
commit
b0560cbd99
47 files changed
+1909
-1063
No files matched your search
@@ -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