소스 검색

Add new test cases

tags/v0.1.0
Victor Korzunin 4 년 전
부모
커밋
5c71f7c32a
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. +2
    -0
      camel_test.go

+ 2
- 0
camel_test.go 파일 보기

@@ -31,6 +31,7 @@ import (
func TestToCamel(t *testing.T) {
cases := [][]string{
{"test_case", "TestCase"},
{"test.case", "TestCase"},
{"test", "Test"},
{"TestCase", "TestCase"},
{" test case ", "TestCase"},
@@ -56,6 +57,7 @@ func TestToLowerCamel(t *testing.T) {
{"TestCase", "testCase"},
{"", ""},
{"AnyKind of_string", "anyKindOfString"},
{"AnyKind.of-string", "anyKindOfString"},
}
for _, i := range cases {
in := i[0]


불러오는 중...
취소
저장