Skip to content

Commit f12130a

Browse files
cuishuanggopherbot
authored andcommitted
syncmap: remove redundant type conversion
Change-Id: I32c367338e1ea95aaaaa8e891f5dfe4ab6c03913 GitHub-Last-Rev: a2b25df GitHub-Pull-Request: #18 Reviewed-on: https://go-review.googlesource.com/c/sync/+/429058 TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Bryan Mills <bcmills@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> Auto-Submit: Bryan Mills <bcmills@google.com> Reviewed-by: Bryan Mills <bcmills@google.com>
1 parent 7fc1605 commit f12130a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)