Welcome to mirror list, hosted at ThFree Co, Russian Federation.

not_testhelper.go « testhelper_run_not_testhelper « src « testdata « gitaly « golangci-lint « tools - gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 688ec1a36a4ae1a6dbf7f6849eb49cf9dc9fbbc9 (plain)
1
2
3
4
5
6
7
8
9
package testhelper_run_not_testhelper // want package:"package has TestMain"

import "testing"

func Run(m *testing.M) {}

func TestMain(m *testing.M) { // want "TestMain should be placed in file 'testhelper_test.go'"
	Run(m)
}