mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-05 04:58:57 +00:00
GenerateText gives text error on failure
This commit is contained in:
@@ -275,7 +275,7 @@ void FuzzTest2() {
|
||||
parser.opts.indent_step = 0;
|
||||
auto result =
|
||||
GenerateText(parser, parser.builder_.GetBufferPointer(), &jsongen);
|
||||
TEST_EQ(result, true);
|
||||
TEST_NULL(result);
|
||||
|
||||
if (jsongen != json) {
|
||||
// These strings are larger than a megabyte, so we show the bytes around
|
||||
|
||||
Reference in New Issue
Block a user