Debian Codegraph @

src/cmd/go/testdata/script/cover_runs.txt

raw
1 [compiler:gccgo] skip 'gccgo has no cover tool'
2 [short] skip
3
4 go test -short -coverpkg=strings strings regexp
5 ! stdout '[^0-9]0\.0%'
6 stdout 'strings.*coverage:.*[1-9][0-9.]+%'
7 stdout 'regexp.*coverage:.*[1-9][0-9.]+%'
8
9 go test -short -cover strings math regexp
10 ! stdout '[^0-9]0\.0%'
11 stdout 'strings.*coverage:.*[1-9][0-9.]+%'
12 stdout 'math.*coverage:.*[1-9][0-9.]+%'
13 stdout 'regexp.*coverage:.*[1-9][0-9.]+%'