Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CamelCaseWithSeparator (0.13 sec)

  1. pkg/util/strcase/camelcase_test.go

    				n:   "foobar",
    				sep: "",
    			},
    			want: "FOOBAR",
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			if got := CamelCaseWithSeparator(tt.args.n, tt.args.sep); got != tt.want {
    				t.Errorf("CamelCaseWithSeparator() = %v, want %v", got, tt.want)
    			}
    		})
    	}
    }
    
    func Test_isWordSeparator(t *testing.T) {
    	tests := []struct {
    		name string
    		c    byte
    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