blob: 6df6096563869e19d8db5534195c1334d40ba8de [file] [log] [blame]
[compiler: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.]+%'