mirror of
https://github.com/golang/go
synced 2024-11-25 13:17:56 -07:00
add more test
This commit is contained in:
parent
2683904638
commit
e166048bdb
11
src/cmd/go/testdata/script/build_relative_import_not_supported_in_go_path_mode.txt
vendored
Normal file
11
src/cmd/go/testdata/script/build_relative_import_not_supported_in_go_path_mode.txt
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
env GO111MODULE=off
|
||||
|
||||
! go build
|
||||
stderr 'cannot find package "\." in:\n\t.WORK/gopath/src/foo'
|
||||
|
||||
-- main.go --
|
||||
package main
|
||||
|
||||
import _ "./foo"
|
||||
|
||||
func main() {}
|
Loading…
Reference in New Issue
Block a user