File tree 1 file changed +7
-7
lines changed 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -2560,13 +2560,13 @@ struct FuzzTest : JsonTest::TestCase {};
2560
2560
2561
2561
// Build and run the fuzz test without any fuzzer, so that it's guaranteed not
2562
2562
// go out of date, even if it's never run as an actual fuzz test.
2563
- // JSONTEST_FIXTURE(FuzzTest, fuzzDoesntCrash) {
2564
- // const std::string example = "{}";
2565
- // JSONTEST_ASSERT_EQUAL(
2566
- // 0,
2567
- // LLVMFuzzerTestOneInput(reinterpret_cast<const uint8_t*>(example.c_str()),
2568
- // example.size()));
2569
- // }
2563
+ JSONTEST_FIXTURE (FuzzTest, fuzzDoesntCrash) {
2564
+ const std::string example = " {}" ;
2565
+ JSONTEST_ASSERT_EQUAL (
2566
+ 0 ,
2567
+ LLVMFuzzerTestOneInput (reinterpret_cast <const uint8_t *>(example.c_str ()),
2568
+ example.size ()));
2569
+ }
2570
2570
2571
2571
int main (int argc, const char * argv[]) {
2572
2572
JsonTest::Runner runner;
You can’t perform that action at this time.
0 commit comments