summaryrefslogtreecommitdiff
path: root/random/random_test.go
AgeCommit message (Collapse)Author
2025-03-10chore(refactoring): Refactor/modernizations (#2345)Dave Henderson
chore(refactoring): Refactor with modernization refactorings * range over int * replace interface{} with any * replace common map operations with maps.Copy/maps.Clone * simplifying loops with slices.Contains/ContainsFunc * modernize benchmarks with b.Loop * modernize tests with t.Context * use fmt.Appendf * range over strings.SplitSeq * use new stdlib crypto/pbkdf2 package --------- Signed-off-by: Dave Henderson <dhenderson@gmail.com>
2024-09-30fix(lint): Fix or ignore lint errors (#2228)Dave Henderson
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
2024-04-21Enable testifylint linter (#2044)Dave Henderson
* chore: Enable testifylint linter Signed-off-by: Dave Henderson <dhenderson@gmail.com> * chore: fix flaky IP lookup test Signed-off-by: Dave Henderson <dhenderson@gmail.com> --------- Signed-off-by: Dave Henderson <dhenderson@gmail.com>
2023-04-29Use required.NoError for faster failure in testsDave Henderson
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
2021-04-14Fix data race in random functions (#1128)Dave Henderson
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
2019-03-17New random namespace for generating random strings and numbersDave Henderson
Signed-off-by: Dave Henderson <dhenderson@gmail.com>