Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCamelCaseWithSeparator (0.43 sec)

  1. pkg/util/strcase/camelcase_test.go

    	}
    
    	for k, v := range cases {
    		t.Run(k, func(t *testing.T) {
    			g := NewWithT(t)
    
    			a := CamelCaseToKebabCase(k)
    			g.Expect(a).To(Equal(v))
    		})
    	}
    }
    
    func TestCamelCaseWithSeparator(t *testing.T) {
    	type args struct {
    		n   string
    		sep string
    	}
    	tests := []struct {
    		name string
    		args args
    		want string
    	}{
    		{
    			name: "foo_bar",
    			args: args{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 3.8K bytes
    - Viewed (0)
Back to top