forked from mirror/readline
remove test for SplitByMultiLine
This commit is contained in:
parent
e5e328dcc7
commit
19657124c7
|
@ -1,15 +1 @@
|
||||||
package readline
|
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)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue