We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5f0986 commit ef68ccbCopy full SHA for ef68ccb
Flow.Launcher.Infrastructure/StringMatcher.cs
@@ -15,13 +15,18 @@ public class StringMatcher
15
16
private readonly IAlphabet _alphabet;
17
18
- // This is a workaround to allow unit tests to set the instance
19
public StringMatcher(IAlphabet alphabet, Settings settings)
20
{
21
_alphabet = alphabet;
22
UserSettingSearchPrecision = settings.QuerySearchPrecision;
23
}
24
+ // This is a workaround to allow unit tests to set the instance
25
+ public StringMatcher(IAlphabet alphabet)
26
+ {
27
+ _alphabet = alphabet;
28
+ }
29
+
30
public static MatchResult FuzzySearch(string query, string stringToCompare)
31
32
return Ioc.Default.GetRequiredService<StringMatcher>().FuzzyMatch(query, stringToCompare);
0 commit comments