fix linting errors

This commit is contained in:
2024-10-12 19:09:54 +02:00
parent 458be4dabb
commit 1a6747dfa2

View File

@@ -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)
}
}
}