mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 16:14:05 +01:00
Add getMemberConst() and getElementConst() (6780,5602)
This commit is contained in:
@@ -154,7 +154,8 @@ TEST_CASE("JsonVariant::operator[]") {
|
||||
doc2.add(42);
|
||||
var.link(doc2);
|
||||
|
||||
CHECK(var[0].as<int>() == 42);
|
||||
bool ok = var[0].as<int>() == 42;
|
||||
CHECK(ok);
|
||||
}
|
||||
|
||||
SECTION("set value to linked array") {
|
||||
|
||||
Reference in New Issue
Block a user