Skip to content

Commit 92a9662

Browse files
committed
add testing for tail end string match
1 parent 7d87292 commit 92a9662

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Flow.Launcher.Test/FuzzyMatcherTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ public void WhenGivenAQuery_Scoring_ShouldGiveMoreWeightToStartOfNewWord(
288288
[TestCase("red", "this red colour", "this colour red")]
289289
[TestCase("red", "this red colour", "this colour is very red")]
290290
[TestCase("red", "this red colour", "this colour is surprisingly super awesome red and cool")]
291+
[TestCase("red", "this colour is surprisingly super red very and cool", "this colour is surprisingly super very red and cool")]
291292
public void WhenGivenTwoStrings_Scoring_ShouldGiveMoreWeightToTheStringCloserToIndexZero(
292293
string queryString, string compareString1, string compareString2)
293294
{

0 commit comments

Comments
 (0)