aboutsummaryrefslogtreecommitdiff
path: root/src/os/exec/exec_test.go
diff options
context:
space:
mode:
authorBryan C. Mills <bcmills@google.com>2021-11-29 14:26:44 -0500
committerBryan C. Mills <bcmills@google.com>2021-12-01 15:43:08 +0000
commitab7905540bf83b85cdbd6574e54319126df9dae8 (patch)
tree357d894dba1ca889868ce0afb10e996b9cbfefd9 /src/os/exec/exec_test.go
parent0e1d553b4d98b71799b86b0ba9bc338de29b7dfe (diff)
downloadgo-ab7905540bf83b85cdbd6574e54319126df9dae8.tar.xz
cmd/go/internal/modload: fix up main-module checks from CL 334932
Some critical Version == "" checks were missing in mvs.go, causing mvs.Req to fail to retain requirements provided by older versions of main modules. A few checks also ought to be rotated to put the less expensive string-equality checks before the more expensive map lookups. Fixes #48511 Change-Id: Ib8de9d49a6413660792c003866bfcf9ab7f82ee2 Reviewed-on: https://go-review.googlesource.com/c/go/+/368136 Trust: Bryan C. Mills <bcmills@google.com> Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/os/exec/exec_test.go')
0 files changed, 0 insertions, 0 deletions