1
0
mirror of https://github.com/golang/go synced 2024-11-17 02:14:42 -07:00

cmd/go: fix TestScript/mod_vendor_goversion for CL 567476

Change-Id: I00b9934a4942a662a2eb14941c9d07e8750aa1b5
Reviewed-on: https://go-review.googlesource.com/c/go/+/567815
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
This commit is contained in:
Russ Cox 2024-02-28 10:30:16 -05:00 committed by Gopher Robot
parent 33013e8ea8
commit ed07e16ffd

View File

@ -26,7 +26,7 @@ go mod vendor
! grep 1.17 vendor/modules.txt ! grep 1.17 vendor/modules.txt
! go build example.net/need117 ! go build example.net/need117
stderr '^vendor[/\\]example\.net[/\\]need117[/\\]need117.go:5:1[89]:' stderr '^vendor[/\\]example\.net[/\\]need117[/\\]need117.go:5:1[89]:'
stderr 'conversion of slices to array pointers requires go1\.17 or later' stderr 'conversion of slice to array pointer requires go1\.17 or later'
! grep 1.13 vendor/modules.txt ! grep 1.13 vendor/modules.txt
go build example.net/bad114 go build example.net/bad114