mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-29 02:07:32 +02: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