Skip to content

Commit 27ed5e6

Browse files
dmitshurgopherbot
authored andcommitted
internal/relui: update TestRelease to use supported Go versions
This will make it possible to drop 1.22 release targets in the next CL. For golang/go#40561. Change-Id: I2ab4b8a5e58f56bcd5d7f36312661b07716e36a3 Reviewed-on: https://go-review.googlesource.com/c/build/+/664216 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Carlos Amedee <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]>
1 parent a9cf6e2 commit 27ed5e6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

internal/relui/buildrelease_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,16 @@ func TestRelease(t *testing.T) {
5050
}
5151

5252
t.Run("minor", func(t *testing.T) {
53-
testRelease(t, "go1.22", 22, "go1.22.1", task.KindMinor)
53+
testRelease(t, "go1.24", 24, "go1.24.1", task.KindMinor)
5454
})
5555
t.Run("beta", func(t *testing.T) {
56-
testRelease(t, "go1.22", 23, "go1.23beta1", task.KindBeta)
56+
testRelease(t, "go1.24", 25, "go1.25beta1", task.KindBeta)
5757
})
5858
t.Run("rc", func(t *testing.T) {
59-
testRelease(t, "go1.22", 23, "go1.23rc1", task.KindRC)
59+
testRelease(t, "go1.24", 25, "go1.25rc1", task.KindRC)
6060
})
6161
t.Run("major", func(t *testing.T) {
62-
testRelease(t, "go1.22", 23, "go1.23.0", task.KindMajor)
62+
testRelease(t, "go1.24", 25, "go1.25.0", task.KindMajor)
6363
})
6464
}
6565

@@ -168,7 +168,7 @@ func newReleaseTestDeps(t *testing.T, previousTag string, major int, wantVersion
168168
}
169169
milestoneTasks := &task.MilestoneTasks{
170170
Client: &task.FakeGitHub{
171-
Milestones: map[int]string{0: "Go1.18", 1: "Go1.23", 2: "Go1.22.1"},
171+
Milestones: map[int]string{0: "Go1.18", 1: "Go1.25", 2: "Go1.24.1"},
172172
DisallowComments: true,
173173
},
174174
RepoOwner: "golang",

0 commit comments

Comments
 (0)