Adjust ScanWriteUnescapedString test case

This commit is contained in:
Milo Yip 2016-04-15 19:51:50 +08:00
parent 8f9ff88c29
commit 8fcc65bf58

View File

@ -96,7 +96,8 @@ TEST(Writer, String) {
}
TEST(Writer, ScanWriteUnescapedString) {
const char json[] = "[\" \\\"\"]";
const char json[] = "[\" \\\"0123456789ABCDEF\"]";
// ^ scanning stops here.
char buffer2[sizeof(json) + 32];
// Use different offset to test different alignments