You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://golang.org/cl/360615 I am not sure if this change is correct, it seems that without modify test case file, I get an error when I run it.
> ! go list -mod=vendor all
[stderr]
cannot find package "vendor/example.com/badedit" in:
$WORK/gopath/src/vendor/example.com/badedit
[exit status 1]
> ! stderr '^go: inconsistent vendoring'
> stderr 'cannot find package "\." in:\n\t.*[/\\]vendor[/\\]example.com[/\\]badedit$'
FAIL: testdata/script/mod_go_version_missing.txt:30: no match for `(?m)cannot find package "\." in:\n\t.*[/\\]vendor[/\\]example.com[/\\]badedit$` found in stderr
https://golang.org/cl/360615 I am not sure if this change is correct, it seems that without modify test case file, I get an error when I run it.
> ! go list -mod=vendor all
[stderr]
cannot find package "vendor/example.com/badedit" in:
$WORK/gopath/src/vendor/example.com/badedit
[exit status 1]
> ! stderr '^go: inconsistent vendoring'
> stderr 'cannot find package "\." in:\n\t.*[/\\]vendor[/\\]example.com[/\\]badedit$'
FAIL: testdata/script/mod_go_version_missing.txt:30: no match for `(?m)cannot find package "\." in:\n\t.*[/\\]vendor[/\\]example.com[/\\]badedit$` found in stderr
I deleted cmd/internal/str and tried to build cmd/link. I get
% go build cmd
link/internal/ld/main.go:37:2: cannot find package "." in:
/Users/rsc/go/src/cmd/internal/str
%
There is no mention of an import of ".", so the message should not mention "." either.
The text was updated successfully, but these errors were encountered: