(t *testing.T)
| 76 | } |
| 77 | |
| 78 | func TestInput_CamelCase(t *testing.T) { |
| 79 | str := New("Camel case this_complicated__string%%") |
| 80 | against := "camelCaseThisComplicatedString" |
| 81 | if val := str.CamelCase("%", "").Get(); val != against { |
| 82 | t.Errorf("Expected: to be %s but got: %s", "camelCaseThisComplicatedString", val) |
| 83 | } |
| 84 | } |
| 85 | |
| 86 | func TestInput_CamelCaseNoRule(t *testing.T) { |
| 87 | str := New("Camel case this_complicated__string%%") |