Skip to content

Commit c9244b5

Browse files
authored
Merge pull request #1064 from carapace-sh/match-fix-equal
match: fix equal
2 parents 9503c7a + d186205 commit c9244b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/match/match.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const (
1515

1616
func (m Match) Equal(s, t string) bool {
1717
if m == CASE_INSENSITIVE {
18-
strings.EqualFold(s, t)
18+
return strings.EqualFold(s, t)
1919
}
2020
return s == t
2121

0 commit comments

Comments
 (0)