1 package stringsx 2 3 import ( 4 "testing" 5 6 "github.com/stretchr/testify/assert" 7 ) 8 9 func TestSplitNonEmpty(t *testing.T) { 10 // assert.Len(t, strings.Split("", " "), 1) 11 assert.Len(t, Splitx("", " "), 0) 12 } 13
View as plain text