summaryrefslogtreecommitdiff
path: root/tests/fuzz_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fuzz_test.cpp')
-rw-r--r--tests/fuzz_test.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/fuzz_test.cpp b/tests/fuzz_test.cpp
index 4e42549a..1c9adbc5 100644
--- a/tests/fuzz_test.cpp
+++ b/tests/fuzz_test.cpp
@@ -273,8 +273,7 @@ void FuzzTest2() {
std::string jsongen;
parser.opts.indent_step = 0;
- auto result =
- GenerateText(parser, parser.builder_.GetBufferPointer(), &jsongen);
+ auto result = GenText(parser, parser.builder_.GetBufferPointer(), &jsongen);
TEST_NULL(result);
if (jsongen != json) {