Skip to content

Commit

Permalink
Change "criteria" to "criterion" when used in singular form (#1226)
Browse files Browse the repository at this point in the history
Co-authored-by: Sophie <29753584+Druue@users.noreply.github.com>
closes #1321
  • Loading branch information
DePasqualeOrg committed Dec 9, 2022
1 parent 8325f30 commit 5361b83
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/language-server/src/__test__/quickFix.test.ts
Expand Up @@ -211,7 +211,7 @@ suite('Quick Fixes', () => {
end: { line: 15, character: 0 },
},
message:
'Error parsing attribute "@relation": The argument `references` must refer to a unique criteria in the related model. Consider adding an `@unique` attribute to the field `field` in the model `A`.',
'Error parsing attribute "@relation": The argument `references` must refer to a unique criterion in the related model. Consider adding an `@unique` attribute to the field `field` in the model `A`.',
severity: DiagnosticSeverity.Error,
},
]
Expand Down Expand Up @@ -240,8 +240,7 @@ suite('Quick Fixes', () => {
},
},
severity: 1,
message:
'Error parsing attribute "@relation": The argument `references` must refer to a unique criteria in the related model. Consider adding an `@unique` attribute to the field `field` in the model `A`.',
message: 'Error parsing attribute "@relation": The argument `references` must refer to a unique criterion in the related model. Consider adding an `@unique` attribute to the field `field` in the model `A`.',
},
],
edit: {
Expand Down

0 comments on commit 5361b83

Please sign in to comment.