Skip to content

Commit

Permalink
Add test for #107
Browse files Browse the repository at this point in the history
Closes #107
  • Loading branch information
sindresorhus committed Aug 9, 2023
1 parent 803532b commit c9fa59d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ test('camelCase with pascalCase option', t => {
t.is(camelCase('РОЗОВЫЙ_ПУШИСТЫЙ-ЕДИНОРОГИ', {pascalCase: true}), 'РозовыйПушистыйЕдинороги');
t.is(camelCase('桑德在这里。', {pascalCase: true}), '桑德在这里。');
t.is(camelCase('桑德_在这里。', {pascalCase: true}), '桑德在这里。');
t.is(camelCase('a1b', {pascalCase: true}), 'A1B');
});

test('camelCase with preserveConsecutiveUppercase option', t => {
Expand Down

0 comments on commit c9fa59d

Please sign in to comment.