Improve matching and sorting on specific cases

This commit is contained in:
hrsh7th
2021-08-05 15:21:16 +09:00
parent 570b00e6c3
commit 56d22edbbf
4 changed files with 23 additions and 9 deletions

View File

@@ -20,6 +20,7 @@ describe('matcher', function()
assert.is.truthy(matcher.match('candlesingle', 'candle#accept#single') >= 1)
assert.is.truthy(matcher.match('conso', 'console') > matcher.match('conso', 'ConstantSourceNode'))
assert.is.truthy(matcher.match('var_', 'var_dump') >= 1)
assert.is.truthy(matcher.match('my_', 'my_awesome_variable') > matcher.match('my_', 'completion_matching_strategy_list'))
end)
it('debug', function()