diff --git a/utils_test.go b/utils_test.go index 71cba80..96037df 100644 --- a/utils_test.go +++ b/utils_test.go @@ -1,15 +1 @@ package readline - -import ( - "reflect" - "testing" -) - -func TestSplitByMultiLine(t *testing.T) { - rs := []rune("hello!bye!!!!") - expected := []string{"hell", "o!", "bye!", "!!", "!"} - ret := SplitByMultiLine(0, 6, 4, rs) - if !reflect.DeepEqual(ret, expected) { - t.Fatal(ret, expected) - } -}