commit | 6b4b9869eca84d00fd9a1ca93d0e29ba20e8e699 | [log] [tgz] |
---|---|---|
author | Hao Nguyen <45579440+haon4@users.noreply.github.com> | Wed Apr 24 15:29:17 2019 -0700 |
committer | GitHub <noreply@github.com> | Wed Apr 24 15:29:17 2019 -0700 |
tree | 342194126fd25ac873b4ae2b6aa4aa66a725eef4 | |
parent | 64a483aad1cf542364df2524e87f24abeb3e714d [diff] [blame] |
Add a new conformance test for top level JSON null (#5966) * Add a new conformance test for top level JSON null
diff --git a/conformance/binary_json_conformance_suite.cc b/conformance/binary_json_conformance_suite.cc index 8cb9bf7..0995d35 100644 --- a/conformance/binary_json_conformance_suite.cc +++ b/conformance/binary_json_conformance_suite.cc
@@ -2452,6 +2452,8 @@ "unknown": {"a": 1} })", ""); + + ExpectParseFailureForJson("RejectTopLevelNull", REQUIRED, "null"); } } // namespace protobuf