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)
}
|