blob: 2d624d1da6bb61db145abf9e05567d676606f22d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# Tests issue #26242
go test testnorun
stdout 'testnorun\t\[no test files\]'
-- go.mod --
module testnorun
go 1.16
-- p.go --
package p
func init() {
panic("go test must not link and run test binaries without tests")
}
|