Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 49b9826

Browse files
findleyrgopherbot
authored andcommitted
gopls/internal/test: update the minimum go command of TestImportAlias
This test has a go.mod using go 1.24.x, but only required go command 1.22.x. When running with GOTOOLCHAIN=local, this causes the test to fail on the 1.23 builders. Change-Id: I0c2400b190f115585e806cfff3bf41f6f8136584 Reviewed-on: https://go-review.googlesource.com/c/tools/+/702515 Reviewed-by: Dmitri Shuralyov <[email protected]> Auto-Submit: Robert Findley <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
1 parent d49da96 commit 49b9826

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gopls/internal/test/integration/completion/completion_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1484,7 +1484,7 @@ func main() {
14841484

14851485
// find import foo "bar" for foo.xxx
14861486
func TestImportAlias(t *testing.T) {
1487-
testenv.NeedsGoCommand1Point(t, 22) // we will find math/rand/v2
1487+
testenv.NeedsGoCommand1Point(t, 24) // we will find math/rand/v2
14881488
const files = `
14891489
-- a.go --
14901490
package x

0 commit comments

Comments
 (0)