From 5c7748b15e2fcc616c89492b85f367750e327d79 Mon Sep 17 00:00:00 2001 From: Alexander Kiryukhin Date: Tue, 28 May 2019 13:24:40 +0300 Subject: Compatibility with https://github.com/caneroj1/stemmer library --- stemmer_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'stemmer_test.go') diff --git a/stemmer_test.go b/stemmer_test.go index 8b27774..334a329 100644 --- a/stemmer_test.go +++ b/stemmer_test.go @@ -1,9 +1,9 @@ package StemmerRu import ( - "testing" - "io/ioutil" "encoding/json" + "io/ioutil" + "testing" ) var testFile = `tests.json` @@ -19,7 +19,7 @@ func TestStemWord(t *testing.T) { t.Error("Can't parse json", err) } for source, expected := range *tests { - result := StemWord(source); + result := Stem(source) if expected != result { t.Errorf(`Expected "%s" (source: %s) but got "%s"`, result, source, result) } -- cgit v1.2.3