Skip to content

Commit

Permalink
maps: enhance the robustness of the tests
Browse files Browse the repository at this point in the history
Change-Id: I908e11196f55069d6dca6a19cd206629618e9f37
Reviewed-on: https://go-review.googlesource.com/c/go/+/496079
Auto-Submit: Keith Randall <[email protected]>
TryBot-Result: Gopher Robot <[email protected]>
Reviewed-by: Heschi Kreinick <[email protected]>
Run-TryBot: xie cui <[email protected]>
Reviewed-by: Keith Randall <[email protected]>
Reviewed-by: Keith Randall <[email protected]>
  • Loading branch information
cuiweixie authored and gopherbot committed May 19, 2023
1 parent 09e0f50 commit a1a048a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/maps/maps_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func TestKeys(t *testing.T) {
var m = make(map[int]int)
for i := 0; i < 840; i++ {
want3 = append(want3, i)
m[i] = i
m[i] = i * i
}

got3 := Keys(m)
Expand Down

0 comments on commit a1a048a

Please sign in to comment.