Fix fuzzy match without no partial match

This commit is contained in:
hrsh7th
2023-02-14 22:41:28 +09:00
parent aae0c3e4e7
commit 6635b7aee5
2 changed files with 18 additions and 1 deletions

View File

@@ -36,6 +36,13 @@ describe('matcher', function()
assert.is.truthy(matcher.match('Unit', 'net.UnixListener', { disallow_partial_fuzzy_matching = true }) == 0)
assert.is.truthy(matcher.match('Unit', 'net.UnixListener', { disallow_partial_fuzzy_matching = false }) >= 1)
assert.is.truthy(matcher.match('tail', 'HCDetails', {
disallow_fuzzy_matching = false,
disallow_partial_matching = false,
disallow_prefix_unmatching = false,
disallow_partial_fuzzy_matching = false,
}) >= 1)
end)
it('disallow_fuzzy_matching', function()