mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-10-28 21:21:36 +01:00
Replace JsonString::Ownership with bool
This commit is contained in:
@@ -139,8 +139,7 @@ TEST_CASE("serialize MsgPack value") {
|
||||
|
||||
SECTION("str 32") {
|
||||
std::string shortest(65536, '?');
|
||||
checkVariant(JsonString(shortest.c_str(),
|
||||
JsonString::Linked), // force store by pointer
|
||||
checkVariant(JsonString(shortest.c_str(), true), // force store by pointer
|
||||
"\xDB\x00\x01\x00\x00"_s + shortest);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user