go/types: unset GOPATH before running tests #21013
Labels
FrozenDueToAge
help wanted
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
I was just debugging a mysterious test failure at d5da104 (almost Go 1.9).
I was getting:
After debugging, it turns out it was because I had a
$GOPATH/src/foo
directory with apackage main
in it that I was previously using to debug something else.I don't expect that go/types (or any other test in std) should respect or be affected by the user's
$GOPATH
./cc @griesemer @alandonovan
The text was updated successfully, but these errors were encountered: