Made search case-insensitive
This commit is contained in:
parent
88ea431a27
commit
2e3d11ca42
3 changed files with 13 additions and 2 deletions
|
|
@ -40,6 +40,13 @@ func TestMatch(t *testing.T) {
|
|||
opts: []string{"option", "opt1on"},
|
||||
shouldFind: false,
|
||||
},
|
||||
{
|
||||
name: "Match case insensitive",
|
||||
query: "option",
|
||||
opts: []string{"OPTION", "opt1on"},
|
||||
shouldFind: true,
|
||||
match: "OPTION",
|
||||
},
|
||||
}
|
||||
|
||||
for _, test := range tests {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue