mirror of
https://github.com/junegunn/fzf.git
synced 2026-10-08 13:05:22 +08:00
Fix algorithm tests
This commit is contained in:
1 parent
802c1c2937
commit
2ca704405a
1 file changed
+2
-2
@@ -39,8 +39,8 @@ func TestExactMatchNaive(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestExactMatchNaiveBackward(t *testing.T) {
|
||||
assertMatch(t, FuzzyMatch, false, true, "foobar foob", "oo", 1, 3)
|
||||
assertMatch(t, FuzzyMatch, false, false, "foobar foob", "oo", 8, 10)
|
||||
assertMatch(t, ExactMatchNaive, false, true, "foobar foob", "oo", 1, 3)
|
||||
assertMatch(t, ExactMatchNaive, false, false, "foobar foob", "oo", 8, 10)
|
||||
}
|
||||
|
||||
func TestPrefixMatch(t *testing.T) {
|
||||
|
||||
Reference in new issue
Block a user