syncmap: remove redundant type conversion
Change-Id: I32c367338e1ea95aaaaa8e891f5dfe4ab6c03913 GitHub-Last-Rev: a2b25df29ad89452b484bda107a0834d79f09310 GitHub-Pull-Request: golang/sync#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>
This commit is contained in:
parent
7fc1605a5d
commit
f12130a528
1 changed files with 1 additions and 1 deletions
|
|
@ -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{})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue