Skip to content

Commit

Permalink
syncmap: remove redundant type conversion
Browse files Browse the repository at this point in the history
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 <[email protected]>
Run-TryBot: Bryan Mills <[email protected]>
Reviewed-by: Michael Knyszek <[email protected]>
Auto-Submit: Bryan Mills <[email protected]>
Reviewed-by: Bryan Mills <[email protected]>
  • Loading branch information
cuishuang authored and gopherbot committed Sep 7, 2022
1 parent 7fc1605 commit f12130a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syncmap/map_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func TestConcurrentRange(t *testing.T) {

m := new(syncmap.Map)
for n := int64(1); n <= mapSize; n++ {
m.Store(n, int64(n))
m.Store(n, n)
}

done := make(chan struct{})
Expand Down

0 comments on commit f12130a

Please sign in to comment.