diff options
author | Alexander Kiryukhin <a.kiryukhin@mail.ru> | 2019-05-28 13:24:40 +0300 |
---|---|---|
committer | Alexander Kiryukhin <a.kiryukhin@mail.ru> | 2019-05-28 13:24:40 +0300 |
commit | 5c7748b15e2fcc616c89492b85f367750e327d79 (patch) | |
tree | ec477f84fef127c42c3df0db55ab9792a74d4c99 /stemmer_test.go | |
parent | 0911847693eac96cce52f18a6592a93e50464cf2 (diff) |
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) } |