summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatt Westcott <m.westcott@gmail.com>2016-04-01 00:06:09 +0100
committerMatt Westcott <m.westcott@gmail.com>2016-04-01 00:06:09 +0100
commit2ca704405abe10f6a24994befb6a072585eadc80 (patch)
treecc2c520551c16da5251966fc31e55f9a64a81d42 /src
parent802c1c2937e1629ebb3efa89ece8abfaaf65ea07 (diff)
Fix algorithm tests
Diffstat (limited to 'src')
-rw-r--r--src/algo/algo_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/algo/algo_test.go b/src/algo/algo_test.go
index 95a020b7..06ec5eae 100644
--- a/src/algo/algo_test.go
+++ b/src/algo/algo_test.go
@@ -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) {