blob: 5d169d631268e21f8bc851e82baa4644f3df8457 [file] [log] [blame]
# Issue 23882
[short] skip
go test -coverpkg=all x
stdout ok[\s\S]+?coverage
[!race] stop
go test -coverpkg=all -race x
stdout ok[\s\S]+?coverage
-- x/x.go --
package x
import _ "runtime"
func F() {}
-- x/x_test.go --
package x
import "testing"
func TestF(t *testing.T) { F() }