|
|
@@ -18,8 +18,10 @@ func TestCamelCase(t *testing.T) {
|
|
|
{"OneTwo", "OneTwo"},
|
|
|
{"_", "X"},
|
|
|
{"_a_", "XA_"},
|
|
|
- {"one.two", "One_Two"},
|
|
|
- {"one_two.three_four", "OneTwo_ThreeFour"},
|
|
|
+ {"one.two", "OneTwo"},
|
|
|
+ {"one.Two", "One_Two"},
|
|
|
+ {"one_two.three_four", "OneTwoThreeFour"},
|
|
|
+ {"one_two.Three_four", "OneTwo_ThreeFour"},
|
|
|
{"_one._two", "XOne_XTwo"},
|
|
|
{"SCREAMING_SNAKE_CASE", "SCREAMING_SNAKE_CASE"},
|
|
|
{"double__underscore", "Double_Underscore"},
|