/
/
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_parallel_number.txt
[short] skip # go test -parallel -1 shouldn't work ! go test -parallel -1 standalone_parallel_sub_test.go stdout '-parallel can only be given' # go test -parallel 0 shouldn't work ! go test -parallel 0 standalone_parallel_sub_test.go stdout '-parallel can only be given' -- standalone_parallel_sub_test.go -- package standalone_parallel_sub_test import "testing" func Test(t *testing.T) { ch := make(chan bool, 1) t.Run("Sub", func(t *testing.T) { t.Parallel() <-ch t.Run("Nested", func(t *testing.T) {}) }) // Ensures that Sub will finish after its t.Run call already returned. ch <- true }
Ukuran: 608 B