aboutsummaryrefslogtreecommitdiff
path: root/src/sync/map_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/sync/map_test.go')
-rw-r--r--src/sync/map_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sync/map_test.go b/src/sync/map_test.go
index 05c81354c8..0d6690c746 100644
--- a/src/sync/map_test.go
+++ b/src/sync/map_test.go
@@ -161,7 +161,7 @@ func TestConcurrentRange(t *testing.T) {
m := new(sync.Map)
for n := int64(1); n <= mapSize; n++ {
- m.Store(n, int64(n))
+ m.Store(n, n)
}
done := make(chan struct{})