]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: fix TestBuildIDContainsArchModeEnv
authorYury Smolsky <yury@smolsky.by>
Sat, 12 May 2018 12:53:46 +0000 (15:53 +0300)
committerIan Lance Taylor <iant@golang.org>
Mon, 14 May 2018 13:45:18 +0000 (13:45 +0000)
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>
src/cmd/go/go_test.go

index 9c00b38bdc7236bf9fafeb9a9219cd0a5e904895..b9737688feb955601e8cfd887a18ef7243735ca0 100644 (file)
@@ -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")
                }
        }