Skip to content

Commit

Permalink
fix e2e coverage package for go 1.18
Browse files Browse the repository at this point in the history
  • Loading branch information
BenTheElder committed Apr 27, 2022
1 parent 5379417 commit 5d8f6f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/util/coverage/coverage.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 5d8f6f1

Please sign in to comment.