Skip to content

Commit ff110b3

Browse files
committed
Fix test project build issue
1 parent 2a423f0 commit ff110b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Flow.Launcher.Infrastructure/StringMatcher.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ public class StringMatcher
1414

1515
private readonly IAlphabet _alphabet;
1616

17-
public StringMatcher()
17+
public StringMatcher(IAlphabet alphabet = null)
1818
{
19-
_alphabet = Ioc.Default.GetRequiredService<IAlphabet>();
19+
_alphabet = alphabet ?? Ioc.Default.GetRequiredService<IAlphabet>();
2020
}
2121

2222
public static StringMatcher Instance { get; internal set; }

0 commit comments

Comments
 (0)