/
/
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_xtestonly_works.txt
[short] skip go test xtestonly ! stdout '^ok.*\[no tests to run\]' stdout '^ok' -- go.mod -- module xtestonly go 1.16 -- f.go -- package xtestonly func F() int { return 42 } -- f_test.go -- package xtestonly_test import ( "testing" "xtestonly" ) func TestF(t *testing.T) { if x := xtestonly.F(); x != 42 { t.Errorf("f.F() = %d, want 42", x) } }
Ukuran: 357 B