diff --git a/len_test.go b/runelength_test.go similarity index 95% rename from len_test.go rename to runelength_test.go index 258251d..979f215 100644 --- a/len_test.go +++ b/runelength_test.go @@ -4,7 +4,7 @@ import ( "testing" ) -func TestLen(t *testing.T) { +func TestRuneLength(t *testing.T) { tests := []struct{ Datum rune @@ -123,7 +123,7 @@ func TestLen(t *testing.T) { for testNumber, test := range tests { - actual := Len(test.Datum) + actual := RuneLength(test.Datum) if expected := test.Expected; expected != actual { t.Errorf("For test #%d, expected %d, but actually got %d.", testNumber, expected, actual) continue