test(query): normalize matcher inputs in unit test (#2942)
test(query): normalize matcher inputs in unit test
This commit is contained in:
1 parent
19a67d1dbd
commit
9ae45b9b39
1 file changed
+1
-1
@@ -46,7 +46,7 @@ func TestMatchesSearch(t *testing.T) {
|
||||
|
||||
for _, test := range tests {
|
||||
t.Run(test.name, func(t *testing.T) {
|
||||
assert.Equal(t, test.want, matchesSearch(pkg, test.terms))
|
||||
assert.Equal(t, test.want, matchesSearch(pkg, normalizeSearchTerms(test.terms)))
|
||||
})
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user