mirror of
https://github.com/fumiama/jieba.git
synced 2026-06-22 20:20:44 +08:00
updated all tests to use Fatal/Fatalf to fail tests ealier
This commit is contained in:
@@ -22509,7 +22509,7 @@ func TestJiebaTokenizerSearchModeWithoutHMM(t *testing.T) {
|
||||
for _, test := range tests {
|
||||
actual := tokenizer.Tokenize(test.input)
|
||||
if !reflect.DeepEqual(actual, test.output) {
|
||||
t.Errorf("Expected %v, got %v for %s", test.output, actual, string(test.input))
|
||||
t.Fatalf("Expected %v, got %v for %s", test.output, actual, string(test.input))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user