mirror of
https://codeberg.org/scip/valpass.git
synced 2025-12-16 12:11:00 +01:00
fix linting errors
This commit is contained in:
@@ -14,7 +14,6 @@ import (
|
||||
type Tests struct {
|
||||
name string
|
||||
want bool
|
||||
negate bool
|
||||
opts valpass.Options
|
||||
}
|
||||
|
||||
@@ -299,7 +298,10 @@ func BenchmarkValidateAllwDict(b *testing.B) {
|
||||
passwords := GetPasswords(b.N)
|
||||
|
||||
for i := 0; i < b.N; i++ {
|
||||
valpass.Validate(passwords[i], opts_dict)
|
||||
_, err := valpass.Validate(passwords[i], opts_dict)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user