diff --git a/pkg/util/coverage/coverage.go b/pkg/util/coverage/coverage.go index df64854a610..3a3106f3672 100644 --- a/pkg/util/coverage/coverage.go +++ b/pkg/util/coverage/coverage.go @@ -78,10 +78,11 @@ func FlushCoverage() { tests := []testing.InternalTest{} benchmarks := []testing.InternalBenchmark{} examples := []testing.InternalExample{} + fuzztargets := []testing.InternalFuzzTarget{} var deps fakeTestDeps - dummyRun := testing.MainStart(deps, tests, benchmarks, examples) + dummyRun := testing.MainStart(deps, tests, fuzztargets, benchmarks, examples) dummyRun.Run() // Once it writes to the temporary path, we move it to the intended path.