Replace JsonString::Ownership with bool

This commit is contained in:
Benoit Blanchon committed 2024-11-26 14:32:36 +01:00
1 parent 8931651317
commit ed5f890d28
9 files changed
+23 -23

No files matched your search

@@ -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);
}