From 5d8f6f1213fb35cfde8cc8b5792c9e73ef76cec0 Mon Sep 17 00:00:00 2001 From: Benjamin Elder Date: Wed, 27 Apr 2022 10:05:51 -0700 Subject: [PATCH] fix e2e coverage package for go 1.18 --- pkg/util/coverage/coverage.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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.