aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/testing/testing_other.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/testing_other.go')
-rw-r--r--src/testing/testing_other.go16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/testing/testing_other.go b/src/testing/testing_other.go
deleted file mode 100644
index 875115e96..000000000
--- a/src/testing/testing_other.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, examples []InternalExample) *M {
- Init()
- return &M{
- Tests: tests,
- Benchmarks: benchmarks,
- deps: deps.(testDeps),
- }
-}