mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 16:14:05 +01:00
Removed the indirection via StringSlot
This commit is contained in:
@@ -79,12 +79,12 @@ TEST_CASE("JsonVariant with not enough memory") {
|
||||
JsonVariant v = doc.to<JsonVariant>();
|
||||
|
||||
SECTION("std::string") {
|
||||
v.set(std::string("hello"));
|
||||
v.set(std::string("hello world!!"));
|
||||
REQUIRE(v.isNull());
|
||||
}
|
||||
|
||||
SECTION("Serialized<std::string>") {
|
||||
v.set(serialized(std::string("hello")));
|
||||
v.set(serialized(std::string("hello world!!")));
|
||||
REQUIRE(v.isNull());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user