[!net:github.com] skip | |
[!git] skip | |
env GO111MODULE=off | |
cd $GOPATH | |
go get github.com/clsung/go-vendor-issue-14613 | |
# test folder should work | |
go test github.com/clsung/go-vendor-issue-14613 | |
# test with specified _test.go should work too | |
cd $GOPATH/src | |
go test github.com/clsung/go-vendor-issue-14613/vendor_test.go | |
# test with imported and not used | |
! go test github.com/clsung/go-vendor-issue-14613/vendor/mylibtesttest/myapp/myapp_test.go | |
stderr 'imported and not used' |