Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
remyleone committed Aug 22, 2024
1 parent 516cf75 commit 496c43e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/passwordgenerator/password_generator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func isPassword(s string) bool {
hasUpperCase = true
case value >= 'a' && value <= 'z':
hasLowercase = true
case strings.Contains(string(value), passwordgenerator.SpecialSymbols):
case strings.Contains(passwordgenerator.SpecialSymbols, string(value)): //nolint:gocritic
hasSymbol = true
}
}
Expand Down

0 comments on commit 496c43e

Please sign in to comment.