mirror of
https://github.com/Tencent/rapidjson.git
synced 2025-10-28 19:52:02 +01:00
Adjust ScanWriteUnescapedString test case
This commit is contained in:
@@ -96,7 +96,8 @@ TEST(Writer, String) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
TEST(Writer, ScanWriteUnescapedString) {
|
TEST(Writer, ScanWriteUnescapedString) {
|
||||||
const char json[] = "[\" \\\"\"]";
|
const char json[] = "[\" \\\"0123456789ABCDEF\"]";
|
||||||
|
// ^ scanning stops here.
|
||||||
char buffer2[sizeof(json) + 32];
|
char buffer2[sizeof(json) + 32];
|
||||||
|
|
||||||
// Use different offset to test different alignments
|
// Use different offset to test different alignments
|
||||||
|
|||||||
Reference in New Issue
Block a user