Text file src/cmd/go/testdata/script/gopath_vendor_dup_err.txt
1 [!net] skip 2 env GO111MODULE=off 3 4 # Issue 17119: Test more duplicate load errors. 5 ! go build dupload 6 ! stderr 'duplicate load|internal error' 7 stderr 'dupload/vendor/p must be imported as p' 8 9 -- dupload/dupload.go -- 10 package main 11 12 import ( 13 _ "dupload/p2" 14 _ "p" 15 ) 16 17 func main() {} 18 -- dupload/p/p.go -- 19 package p 20 -- dupload/p2/p2.go -- 21 package p2 22 23 import _ "dupload/vendor/p" 24 -- dupload/vendor/p/p.go -- 25 package p 26