Text file src/cmd/go/testdata/script/list_test_non_go_files.txt
1 env GO111MODULE=off 2 3 # issue 29899: handling files with non-Go extension 4 go list -e -test -json -- c.c x.go 5 stdout '"Err": "named files must be .go files: c.c"' 6 7 ! go list -test -json -- c.c x.go 8 stderr '^named files must be \.go files: c\.c$' 9 10 -- x.go -- 11 package main 12 -- c.c -- 13 package c 14