Rename undocumented JsonString::isLinked() to isStatic()

This commit is contained in:
Benoit Blanchon
2024-11-26 14:32:21 +01:00
parent ed5f890d28
commit e33e78d202
8 changed files with 26 additions and 25 deletions

View File

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