/
/
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_example_goexit.txt
# For issue golang.org/issue/41084 [short] skip ! go test -v examplegoexit stdout '(?s)--- PASS.*--- FAIL.*' stdout 'panic: test executed panic\(nil\) or runtime\.Goexit' -- go.mod -- module examplegoexit go 1.16 -- example_test.go -- package main import ( "fmt" "runtime" ) func ExamplePass() { fmt.Println("pass") // Output: // pass } func ExampleGoexit() { runtime.Goexit() // Output: }
Ukuran: 403 B