From 2ca704405abe10f6a24994befb6a072585eadc80 Mon Sep 17 00:00:00 2001 From: Matt Westcott Date: Fri, 1 Apr 2016 00:06:09 +0100 Subject: [PATCH] Fix algorithm tests --- src/algo/algo_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/algo/algo_test.go b/src/algo/algo_test.go index 95a020b..06ec5ea 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) {