Do not use C++11 unicode escape in unittest.

For fixing MSVC
This commit is contained in:
Jisi Liu 2016-04-01 16:44:46 -07:00
parent 93811ca9f7
commit 89343d87c6

View file

@ -392,7 +392,7 @@ TEST_F(JsonStreamParserTest, UnicodeEscaping) {
// - unicode UTF-16 surrogate pair handling in strings
TEST_F(JsonStreamParserTest, UnicodeSurrogatePairEscaping) {
StringPiece str =
"[\"\\u0bee\\ud800\\uddf1\\uD80C\\uDDA4\\uD83d\\udC1D\U0001F36F\"]";
"[\"\\u0bee\\ud800\\uddf1\\uD80C\\uDDA4\\uD83d\\udC1D\\uD83C\\uDF6F\"]";
for (int i = 0; i <= str.length(); ++i) {
ow_.StartList("")
->RenderString("",