blob: 6b2b6336a6c803f6ace98deb2ab047db4c3a8cdc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
env GO111MODULE=off
# issue 29899: handling files with non-Go extension
go list -e -test -json -- c.c x.go
stdout '"Err": "named files must be .go files: c.c"'
! go list -test -json -- c.c x.go
stderr '^named files must be \.go files: c\.c$'
-- x.go --
package main
-- c.c --
package c
|