From 19657124c7522d51252a8e942d2cb3f8b78ce0ad Mon Sep 17 00:00:00 2001 From: chzyer <0@0xdf.com> Date: Thu, 31 Mar 2016 00:19:18 +0800 Subject: [PATCH] remove test for SplitByMultiLine --- utils_test.go | 14 -------------- 1 file changed, 14 deletions(-) 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) - } -}