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

+2 -2
View File
@@ -101,7 +101,7 @@ TEST_CASE("adaptString()") {
}
SECTION("JsonString linked") {
JsonString orig("hello", JsonString::Ownership::Linked);
JsonString orig("hello", true);
auto s = adaptString(orig);
CHECK(s.isNull() == false);
@@ -110,7 +110,7 @@ TEST_CASE("adaptString()") {
}
SECTION("JsonString copied") {
JsonString orig("hello", JsonString::Ownership::Copied);
JsonString orig("hello", false);
auto s = adaptString(orig);
CHECK(s.isNull() == false);