@@ -32,5 +32,16 @@ func TestParse(t *testing.T) { if !reflect.DeepEqual(got, tc.want) { t.Errorf("got: %q, want: %q", got, tc.want) } } } func BenchmarkParse(b *testing.B) { for i := 0; i < b.N; i++ { kebabcase.Parse("book") kebabcase.Parse("bookmark") kebabcase.Parse("arrow-right") kebabcase.Parse("arrow-small-right") kebabcase.Parse("device-camera-video-audio") kebabcase.Parse("rss") } }