Skip to content

Commit

Permalink
Fix linting issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jens Spitaels authored and Jens Spitaels committed Jun 20, 2024
1 parent 34eb107 commit 19bdea1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/generators/csharp/CSharpConstrainer.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,12 @@ describe('CSharpConstrainer', () => {
expect(type).toEqual('int');
});
test('should render long', () => {
const model = new ConstrainedIntegerModel('test', undefined, { format: 'int64' }, '');
const model = new ConstrainedStringModel(
'test',
undefined,
{ format: 'int64' },
''
);
const type = CSharpDefaultTypeMapping.Integer({
constrainedModel: model,
...defaultOptions
Expand Down

0 comments on commit 19bdea1

Please sign in to comment.