forked from bblanchon/ArduinoJson
Replace JsonString::Ownership with bool
This commit is contained in:
1 parent
8931651317
commit
ed5f890d28
9 files changed
+23
-23
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user