cmd/go: add test to check for a potential workspace loading issue
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 <4562438b12c14e81a47550acde616ff328a909f8@golang.org>
Run-TryBot: Michael Matloob <4562438b12c14e81a47550acde616ff328a909f8@golang.org>
TryBot-Result: Go Bot <66cb808b70d30c07676d5e946fee83fd561249e5@golang.org>
Reviewed-by: Bryan C. Mills <1c8aad60184261ccede67f5c63a0d2a3bf3c9ff4@google.com>

nawawi/go,cloudflare/go,golang/go,CAFxX/go,cloudflare/go,CAFxX/go,nawawi/go,cloudflare/go,cloudflare/go,nawawi/go,CAFxX/go,CAFxX/go,nawawi/go,golang/go,cloudflare/go,nawawi/go,golang/go,golang/go,CAFxX/go,nawawi/go,cloudflare/go,golang/go,nawawi/go,CAFxX/go,nawawi/go,golang/go,cloudflare/go,golang/go,CAFxX/go,cloudflare/go,CAFxX/go,golang/go