1
0
mirror of https://github.com/fumiama/jieba.git synced 2026-06-08 18:40:24 +08:00

fixed a typo in jieba_test.go

This commit is contained in:
Wang Bin
2015-04-02 18:29:24 +08:00
parent 84ad6fe25e
commit d22cc9b6b6

View File

@@ -690,8 +690,8 @@ func TestCutAll(t *testing.T) {
if len(result) != len(cutAllResult[index]) {
t.Errorf("cut all for %s length should be %d not %d\n",
content, len(cutAllResult[index]), len(result))
t.Errorf("expect: %v\n", strings.Join(defaultCutResult[index], "/"))
t.Fatalf("got: %v\n", strings.Join(result, "/"))
t.Errorf("expect: %v\n", defaultCutResult[index])
t.Fatalf("got: %v\n", result)
}
for i, c := range result {
if c != cutAllResult[index][i] {