Skip to content

Commit

Permalink
deprecated seed fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Hidanio committed Mar 1, 2024
1 parent c12935f commit f181b52
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/linttest/linttest.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ func init() {
}
testSeed = v
}

rand.Seed(testSeed)
rand.New(rand.NewSource(testSeed))
log.Printf("TEST_SEED: %d", testSeed)
}

Expand Down

0 comments on commit f181b52

Please sign in to comment.