/
/
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_benchmark_fatal.txt
# Test that calling t.Fatal in a benchmark causes a non-zero exit status. ! go test -run '^$' -bench . benchfatal ! stdout ^ok ! stderr ^ok stdout FAIL.*benchfatal -- go.mod -- module benchfatal go 1.16 -- x_test.go -- package benchfatal import "testing" func BenchmarkThatCallsFatal(b *testing.B) { b.Fatal("called by benchmark") }
Ukuran: 339 B