mirror of
https://github.com/golang/go
synced 2024-11-02 11:50:30 +00:00
cmd/go: fix TestBuildIDContainsArchModeEnv
Changing GOARCH, GOARM, GO386 leads to a stale dependency. Updates #24436. Change-Id: I5b5b3fca6401be50fa81fb040bc56356de7555de Reviewed-on: https://go-review.googlesource.com/112975 Run-TryBot: Yury Smolsky <yury@smolsky.by> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
b7f3c178a3
commit
c06f027520
1 changed files with 1 additions and 1 deletions
|
@ -4851,7 +4851,7 @@ func main() {}`)
|
|||
before()
|
||||
tg.run("install", "mycmd")
|
||||
after()
|
||||
tg.wantStale("mycmd", "stale dependency: runtime/internal/sys", "should be stale after environment variable change")
|
||||
tg.wantStale("mycmd", "stale dependency", "should be stale after environment variable change")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue