aboutsummaryrefslogtreecommitdiff
path: root/src/internal/runtime/maps/map_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/runtime/maps/map_test.go')
-rw-r--r--src/internal/runtime/maps/map_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/internal/runtime/maps/map_test.go b/src/internal/runtime/maps/map_test.go
index 29806ee97b..4b39bf5ec7 100644
--- a/src/internal/runtime/maps/map_test.go
+++ b/src/internal/runtime/maps/map_test.go
@@ -223,7 +223,8 @@ func TestTablePutDelete(t *testing.T) {
// So first we must add to the table continuously until we happen to
// fill a group.
- m, _ := maps.NewTestMap[uint32, uint32](8)
+ // Avoid small maps, they have no tables.
+ m, _ := maps.NewTestMap[uint32, uint32](16)
key := uint32(0)
elem := uint32(256 + 0)