Append terminator in saveStringFromFreeZone()

This commit is contained in:
Benoit Blanchon committed 2021-11-24 19:06:49 +01:00
1 parent 62f9b94ab1
commit 43b2e2e774
10 files changed
+58 -25

No files matched your search

-1
View File
@@ -18,7 +18,6 @@ static void testCodepoint(uint32_t codepoint, std::string expected) {
CAPTURE(codepoint);
Utf8::encodeCodepoint(codepoint, str);
str.append('\0');
REQUIRE(str.str().c_str() == expected);
}