fix e2e coverage package for go 1.18

This commit is contained in:
Benjamin Elder 2022-04-27 10:05:51 -07:00
parent 537941765f
commit 5d8f6f1213

View File

@ -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.