| Server IP : 217.160.0.212 / Your IP : 216.73.216.141 Web Server : Apache System : Linux www 6.18.51-i1-ampere #1196 SMP Fri Sep 11 20:43:55 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/go/src/cmd/go/testdata/script/ |
Upload File : |
# Adding -cover to "go test -n" should not cause failures,
# see issue 67952. In the regular (no "-n") case for an
# empty package test action for the package will look for
# a static meta-data file produced by the cover tool
# during the build action; when "-n" is in effect that
# meta-data file doesn't exist, so the code that reads
# the meta-data file has to be stubbed out.
go test -vet=off -n -cover ./f
-- go.mod --
module M
go 1.21
-- f/f.go --
package f
func Id() int {
return 42
}