Skip to content

Commit

Permalink
test: avoid possibility of collide value in tests. I mean, what were …
Browse files Browse the repository at this point in the history
…the odds of that?

Signed-off-by: deadprogram <[email protected]>
  • Loading branch information
deadprogram committed Oct 19, 2017
1 parent a3f086c commit 40b6367
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ func TestToScale(t *testing.T) {
}

func TestRand(t *testing.T) {
a := Rand(1000)
b := Rand(1000)
a := Rand(10000)
b := Rand(10000)
if a == b {
t.Errorf("%v should not equal %v", a, b)
}
Expand Down

0 comments on commit 40b6367

Please sign in to comment.