]> Cypherpunks repositories - gostls13.git/commit
cmd/go: add test to check for a potential workspace loading issue
authorMichael Matloob <matloob@golang.org>
Wed, 8 Sep 2021 21:28:09 +0000 (17:28 -0400)
committerMichael Matloob <matloob@golang.org>
Mon, 13 Sep 2021 18:05:59 +0000 (18:05 +0000)
commitc8a58f29dcb2b4f38ca4fcf4d2a2a80f606c9573
tree4c4ae9e42b4e17f2ec02d4044e430971c28ea97c
parente74e363a6b3e71ec5a49a3aae8c2523abb72faa7
cmd/go: add test to check for a potential workspace loading issue

This test checks that we load the same graph regardless of the path to
the requested module in the workspace.

We currently don't. This will be fixed in a future change that redoes
workspace mode's usage of the Requirements structure.

For #45713

Change-Id: Id02cbb60a38619d840dbf1e70173ce853c0c167a
Reviewed-on: https://go-review.googlesource.com/c/go/+/348649
Trust: Michael Matloob <matloob@golang.org>
Run-TryBot: Michael Matloob <matloob@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/cmd/go/testdata/script/work_prune.txt [new file with mode: 0644]