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.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/json/test_json.cc b/tests/json/test_json.cc
index 1f7d364..3dc4a6c 100644
--- a/tests/json/test_json.cc
+++ b/tests/json/test_json.cc
@@ -176,7 +176,7 @@ void test_json_roundtrip_message(const char* json_src,
upb::json::PrinterPtr printer = upb::json::PrinterPtr::Create(
env.arena(), serialize_handlers, data_sink.Sink());
upb::json::ParserPtr parser = upb::json::ParserPtr::Create(
- env.arena(), parser_method, NULL, printer.input(), false);
+ env.arena(), parser_method, NULL, printer.input(), env.status(), 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