转小驼峰,转大驼峰通过所有测试用例
This commit is contained in:
@@ -123,13 +123,13 @@ const testGroups: Array<TestCaseGroup> = [
|
||||
input:
|
||||
'How do you\bdo?\n How do you\tdo!'
|
||||
,
|
||||
eol: [LF, CRLF],
|
||||
eol: [LF],
|
||||
transformText: [
|
||||
'how|do|you|\b|do|?',
|
||||
' how|do|you|\t|do|!',
|
||||
],
|
||||
output: {
|
||||
camelCase: 'howDoYou\bDo?\n HowDoYou\tDo!',
|
||||
camelCase: 'howDoYou\bDo?\n howDoYou\tDo!',
|
||||
pascalCase: 'HowDoYou\bDo?\n HowDoYou\tDo!',
|
||||
},
|
||||
},
|
||||
@@ -366,8 +366,8 @@ const testGroups: Array<TestCaseGroup> = [
|
||||
' exercisingPermissionsGrantedByThisLicense.'
|
||||
,
|
||||
pascalCase:
|
||||
' "You" (or "Your") shall mean an individual or Legal Entity\n' +
|
||||
' exercising permissions granted by this License.'
|
||||
' &Quot;You&Quot;(Or&Quot;Your&Quot;)ShallMeanAnIndividualOrLegalEntity\n' +
|
||||
' ExercisingPermissionsGrantedByThisLicense.'
|
||||
,
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user