diff options
author | Feng Xiao <xfxyjwf@gmail.com> | 2016-09-23 21:43:09 +0000 |
---|---|---|
committer | Bo Yang <teboring@google.com> | 2016-10-10 11:44:21 -0700 |
commit | 9e260a323bf516e0ac5b6b0e757173c264775a23 (patch) | |
tree | f42022f218386bb41e9eff1940c30559ee952b68 /src | |
parent | 1c4cf0eeb52dd22bdd1ec3136b4f9b977e6edf07 (diff) | |
download | protobuf-9e260a323bf516e0ac5b6b0e757173c264775a23.tar.gz protobuf-9e260a323bf516e0ac5b6b0e757173c264775a23.tar.bz2 protobuf-9e260a323bf516e0ac5b6b0e757173c264775a23.zip |
Reduce test length to avoid stack overflow on VS.
Diffstat (limited to 'src')
-rw-r--r-- | src/google/protobuf/util/internal/json_stream_parser_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/google/protobuf/util/internal/json_stream_parser_test.cc b/src/google/protobuf/util/internal/json_stream_parser_test.cc index b30d529f..d162667a 100644 --- a/src/google/protobuf/util/internal/json_stream_parser_test.cc +++ b/src/google/protobuf/util/internal/json_stream_parser_test.cc @@ -318,15 +318,15 @@ TEST_F(JsonStreamParserTest, ObjectKeyTypes) { // - array containing array, object, values (true, false, null, num, string) TEST_F(JsonStreamParserTest, ArrayValues) { StringPiece str = - "[true, false, null, 'a string', \"another string\", [22, -127, 45.3, " + "[true, false, null, 'a', \"an\", [22, -127, 45.3, " "-1056.4, 11779497823553162765], {'key': true}]"; for (int i = 0; i <= str.length(); ++i) { ow_.StartList("") ->RenderBool("", true) ->RenderBool("", false) ->RenderNull("") - ->RenderString("", "a string") - ->RenderString("", "another string") + ->RenderString("", "a") + ->RenderString("", "an") ->StartList("") ->RenderUint64("", 22) ->RenderInt64("", -127) |