JsonString: change default ownership to Copied

This commit is contained in:
Benoit Blanchon
2024-11-26 10:10:52 +01:00
parent c078957282
commit 8931651317
7 changed files with 10 additions and 7 deletions

View File

@ -96,7 +96,7 @@ TEST_CASE("JsonString") {
JsonString s("hello world", 5);
CHECK(s.size() == 5);
CHECK(s.isLinked() == true);
CHECK(s.isLinked() == false);
CHECK(s == "hello");
CHECK(s != "hello world");
}