blob: 9185793201fa491c205a5582d485b4217678f98c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# Matches only tests
go test -run Test standalone_test.go
! stdout '^ok.*\[no tests to run\]'
! stderr '^ok.*\[no tests to run\]'
stdout '^ok'
-- standalone_test.go --
package standalone_test
import "testing"
func Test(t *testing.T) {
}
|