Add CopiedString and LinkedString

This commit is contained in:
Benoit Blanchon
2021-11-22 09:40:20 +01:00
parent b06bbd9d2a
commit 62f9b94ab1
13 changed files with 83 additions and 50 deletions

View File

@ -19,7 +19,7 @@ static void testCodepoint(uint32_t codepoint, std::string expected) {
Utf8::encodeCodepoint(codepoint, str);
str.append('\0');
REQUIRE(str.c_str() == expected);
REQUIRE(str.str().c_str() == expected);
}
TEST_CASE("Utf8::encodeCodepoint()") {