forked from bblanchon/ArduinoJson
Add more tests for JsonVariantConst
This commit is contained in:
1 parent
ca0dda7ac1
commit
315cc722e9
14 files changed
+391
-262
No files matched your search
@@ -69,12 +69,4 @@ TEST_CASE("JsonVariant::isNull()") {
|
||||
variant.set(serialized(static_cast<const char*>(0)));
|
||||
REQUIRE(variant.isNull() == true);
|
||||
}
|
||||
|
||||
SECTION("works with JsonVariantConst") {
|
||||
variant.set(42);
|
||||
|
||||
JsonVariantConst cvar = variant;
|
||||
|
||||
REQUIRE(cvar.isNull() == false);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user