Skip to content

Commit

Permalink
TestParseRobustness: mod '7', don't replace
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbourgon committed Mar 13, 2018
1 parent 72bc499 commit cd1819a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ulid_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ func TestParseRobustness(t *testing.T) {
// quick.Check doesn't constrain input,
// so we need to do so artificially.
if s[0] > '7' {
s[0] = '7'
s[0] %= '7'
}

var err error
Expand Down

0 comments on commit cd1819a

Please sign in to comment.