diff options
Diffstat (limited to 'src/testing/testing_go118.go')
-rw-r--r-- | src/testing/testing_go118.go | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/testing/testing_go118.go b/src/testing/testing_go118.go deleted file mode 100644 index 1c2c835be..000000000 --- a/src/testing/testing_go118.go +++ /dev/null @@ -1,16 +0,0 @@ -//go:build go1.18 -// +build go1.18 - -package testing - -// MainStart is meant for use by tests generated by 'go test'. -// It is not meant to be called directly and is not subject to the Go 1 compatibility document. -// It may change signature from release to release. -func MainStart(deps interface{}, tests []InternalTest, benchmarks []InternalBenchmark, fuzzTargets []InternalFuzzTarget, examples []InternalExample) *M { - Init() - return &M{ - Tests: tests, - Benchmarks: benchmarks, - deps: deps.(testDeps), - } -} |