aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/map_test.go
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2025-01-13 16:21:29 -0800
committerGopher Robot <gobot@golang.org>2025-01-14 09:55:06 -0800
commitc5e205e928bd4b70c90698b5ca1dd583a8036864 (patch)
tree508a6e01600f4d6469af605aba4b1bc976c94d10 /src/runtime/map_test.go
parentbefc43655b6d93f0be883222fbb3fde5768892c1 (diff)
downloadgo-c5e205e928bd4b70c90698b5ca1dd583a8036864.tar.xz
internal/runtime/maps: re-enable some tests
Re-enable tests for stack-allocated maps and fast map accessors. Those are implemented now. Update #54766 Change-Id: I8c019702bd9fb077b2fe3f7c78e8e9e10d2263a6 Reviewed-on: https://go-review.googlesource.com/c/go/+/642376 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Keith Randall <khr@google.com> Reviewed-by: Michael Pratt <mpratt@google.com> Auto-Submit: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/runtime/map_test.go')
-rw-r--r--src/runtime/map_test.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/runtime/map_test.go b/src/runtime/map_test.go
index e3c092bef9..c522c44a4e 100644
--- a/src/runtime/map_test.go
+++ b/src/runtime/map_test.go
@@ -674,10 +674,6 @@ func TestIgnoreBogusMapHint(t *testing.T) {
var testNonEscapingMapVariable int = 8
func TestNonEscapingMap(t *testing.T) {
- if goexperiment.SwissMap {
- t.Skip("TODO(go.dev/issue/54766): implement stack allocated maps")
- }
-
n := testing.AllocsPerRun(1000, func() {
m := map[int]int{}
m[0] = 0