/
/
opt
/
golang
/
1.22.0
/
src
/
cmd
/
go
/
testdata
/
script
Server: in-mum-web1112.main-hosting.eu (62.72.28.111)
You: 216.73.216.137
PHP 8.3.16
Dir:
/opt/golang/1.22.0/src/cmd/go/testdata/script
Edit:
/opt/golang/1.22.0/src/cmd/go/testdata/script/test_no_run_example.txt
go test -v norunexample stdout 'File with non-runnable example was built.' -- go.mod -- module norunexample go 1.16 -- example_test.go -- package pkg_test import "os" func init() { os.Stdout.Write([]byte("File with non-runnable example was built.\n")) } func Example_test() { // This test will not be run, it has no "Output:" comment. } -- test_test.go -- package pkg import ( "os" "testing" ) func TestBuilt(t *testing.T) { os.Stdout.Write([]byte("A normal test was executed.\n")) }
Ukuran: 496 B