]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/go/internal/modload: remove outdated comments and redundant tests
authorBryan C. Mills <bcmills@google.com>
Mon, 3 May 2021 04:17:56 +0000 (00:17 -0400)
committerBryan C. Mills <bcmills@google.com>
Tue, 4 May 2021 15:30:20 +0000 (15:30 +0000)
commiteab0c46af7331484a7d5837cad68d9d01890b90f
tree569f01b779b4856225ef14ffe8885ecaf4ae2b46
parent0816511d3b861a802fd6c04292ad6debd3db1831
cmd/go/internal/modload: remove outdated comments and redundant tests

The outdated comment in modfile.go was missed in CL 315409.

Upon a closer look at the test case in mod_go_version_vendor.txt, it
is almost completely redundant with the new test in
mod_vendor_goversion.txt. Make it completely redundant and remove it.

Updates #36876

Change-Id: Ibcd1f6b426460aaafbd6dc0be93078547904572b
Reviewed-on: https://go-review.googlesource.com/c/go/+/316209
Trust: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
src/cmd/go/internal/modload/modfile.go
src/cmd/go/testdata/script/mod_go_version_vendor.txt [deleted file]
src/cmd/go/testdata/script/mod_vendor_goversion.txt