Skip to content

Commit

Permalink
rectified bug in javascriot constraint test
Browse files Browse the repository at this point in the history
  • Loading branch information
devilkiller-ag committed Dec 27, 2023
1 parent ca2c417 commit 2cd4cf9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ describe('EnumConstrainer', () => {
});
expect(constrainedKey).toEqual('');
});
test('should use constant naming format', () => {
test('should use pascal naming format', () => {
const constrainedKey = JavaScriptDefaultConstraints.enumKey({
enumModel,
constrainedEnumModel,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ describe('ModelNameConstrainer', () => {
});
expect(constrainedKey).toEqual('Empty');
});
test('should use constant naming format', () => {
test('should use pascal naming format', () => {
const constrainedKey = JavaScriptDefaultConstraints.modelName({
modelName: 'some weird_value!"#2'
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ describe('PropertyKeyConstrainer', () => {
const constrainedKey = constrainPropertyName('');
expect(constrainedKey).toEqual('empty');
});
test('should use constant naming format', () => {
test('should use pascal naming format', () => {
const constrainedKey = constrainPropertyName('some weird_value!"#2');
expect(constrainedKey).toEqual('someWeirdValueExclamationQuotationHash_2');
});
Expand Down

0 comments on commit 2cd4cf9

Please sign in to comment.