summaryrefslogtreecommitdiff
path: root/tests/json/test_json.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/json/test_json.cc')
-rw-r--r--tests/json/test_json.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/json/test_json.cc b/tests/json/test_json.cc
index b7548fe..bcdbf64 100644
--- a/tests/json/test_json.cc
+++ b/tests/json/test_json.cc
@@ -176,7 +176,8 @@ void test_json_roundtrip_message(const char* json_src,
upb::json::Printer* printer = upb::json::Printer::Create(
env.env(), serialize_handlers, data_sink.Sink());
upb::json::Parser* parser =
- upb::json::Parser::Create(env.env(), parser_method, printer->input());
+ upb::json::Parser::Create(
+ env.env(), parser_method, printer->input(), false);
env.ResetBytesSink(parser->input());
env.Reset(json_src, strlen(json_src), false, false);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback