Al-HUWAITI Shell
Al-huwaiti


Server : LiteSpeed
System : Linux in-mum-web1333.main-hosting.eu 4.18.0-553.37.1.lve.el8.x86_64 #1 SMP Mon Feb 10 22:45:17 UTC 2025 x86_64
User : u141265441 ( 141265441)
PHP Version : 8.4.3
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
Directory :  /proc/self/root/opt/golang/1.22.0/src/cmd/go/testdata/script/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/opt/golang/1.22.0/src/cmd/go/testdata/script/mod_list_test.txt
env GO111MODULE=on

# go list -compiled -test must handle test-only packages
# golang.org/issue/27097.
go list -compiled -test
stdout -count=4 '^.' # 4 lines
stdout '^m$'
stdout '^m\.test$'
stdout '^m \[m\.test\]$'
stdout '^m_test \[m\.test\]$'

# https://golang.org/issue/39974: test packages should have the Module field populated.
go list -test -f '{{.ImportPath}}{{with .Module}}: {{.Path}}{{end}}'
stdout -count=4 '^.' # 4 lines
stdout '^m: m$'
stdout '^m\.test: m$'
stdout '^m \[m\.test\]: m$'
stdout '^m_test \[m\.test\]: m$'

-- go.mod --
module m

-- x_test.go --
package x
import "testing"
func Test(t *testing.T) {}
-- x_x_test.go --
package x_test
import "testing"
func Test(t *testing.T) {}

Al-HUWAITI Shell