Text file src/cmd/go/testdata/script/tool_name.txt
1 [short] skip 'runs go build' 2 3 # Tool name can't be empty. Issue #74757. 4 ! go tool '' 5 stderr 'go: no such tool ""' 6 7 ! go tool -n '' 8 stderr 'go: no such tool ""' 9 10 # Invalid tool name 11 ! go tool @ 12 stderr 'go: no such tool "@"' 13 14 ! go tool -n @ 15 stderr 'go: no such tool "@"' 16 17 -- go.mod -- 18 module example.com/foo 19 20 go 1.24 21 -- main.go -- 22 package main 23