aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/testdata/script/cover_runs.txt
blob: 38a7bb77a56059517b32cbbd1c163242841c9bc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[gccgo] skip 'gccgo has no cover tool'
[short] skip

go test -short -coverpkg=strings strings regexp
! stdout '[^0-9]0\.0%'
stdout  'strings.*coverage:.*[1-9][0-9.]+%'
stdout  'regexp.*coverage:.*[1-9][0-9.]+%'

go test -short -cover strings math regexp
! stdout '[^0-9]0\.0%'
stdout  'strings.*coverage:.*[1-9][0-9.]+%'
stdout  'math.*coverage:.*[1-9][0-9.]+%'
stdout  'regexp.*coverage:.*[1-9][0-9.]+%'