diff options
Diffstat (limited to 'stemmer_test.go')
-rw-r--r-- | stemmer_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
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) } |