Skip to content

Commit 5565462

Browse files
qiulaidongfenggopherbot
authored andcommitted
cmd/dist: remove iter,slices,maps test on GOEXPERIMENT=rangefunc
In go1.23, don't need use GOEXPERIMENT=rangefunc enable range-over-func. Change-Id: I88b799c4b38c8fbeed8d9f912a0c3c6c45c80e9d GitHub-Last-Rev: 64fd452 GitHub-Pull-Request: #68325 Reviewed-on: https://go-review.googlesource.com/c/go/+/596517 Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Than McIntosh <thanm@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
1 parent b43d6c5 commit 5565462

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/cmd/dist/test.go

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -711,19 +711,6 @@ func (t *tester) registerTests() {
711711
})
712712
}
713713

714-
// GOEXPERIMENT=rangefunc tests
715-
if !t.compileOnly {
716-
for _, pkg := range []string{"iter", "slices", "maps"} {
717-
t.registerTest("GOEXPERIMENT=rangefunc",
718-
&goTest{
719-
variant: pkg,
720-
short: t.short,
721-
env: []string{"GOEXPERIMENT=rangefunc"},
722-
pkg: pkg,
723-
})
724-
}
725-
}
726-
727714
// GODEBUG=gcstoptheworld=2 tests. We only run these in long-test
728715
// mode (with GO_TEST_SHORT=0) because this is just testing a
729716
// non-critical debug setting.

0 commit comments

Comments
 (0)