Skip to content

Commit a2b25df

Browse files
committed
syncmap: remove redundant type conversion
Signed-off-by: cui fliter <[email protected]>
1 parent 7fc1605 commit a2b25df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

syncmap/map_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ func TestConcurrentRange(t *testing.T) {
115115

116116
m := new(syncmap.Map)
117117
for n := int64(1); n <= mapSize; n++ {
118-
m.Store(n, int64(n))
118+
m.Store(n, n)
119119
}
120120

121121
done := make(chan struct{})

0 commit comments

Comments
 (0)