Enable verifier on nested_flatbuffers

This commit is contained in:
Wouter van Oortmerssen
2021-11-22 17:07:49 -08:00
parent 4d0e9a8706
commit 0fadaf391d
5 changed files with 38 additions and 14 deletions

View File

@@ -82,7 +82,6 @@ std::string do_test(const flatbuffers::IDLOptions &opts,
TEST_EQ(true, MyGame::Example::VerifyMonsterBuffer(verifier));
// FIXME: these are currently not being properly verified, so turn them off
// for fuzzing until they are.
parser.opts.json_nested_flatbuffers = false;
parser.opts.json_nested_flexbuffers = false;
TEST_ASSERT(
GenerateText(parser, parser.builder_.GetBufferPointer(), &jsongen));