blob: 38a7bb77a56059517b32cbbd1c163242841c9bc4 [file] [log] [blame]
[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.]+%'