Skip to content

Commit

Permalink
test: update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
glebbash committed Oct 20, 2021
1 parent 7ca3513 commit 94e3a86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/decorators/is-string.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ describe('IsString', () => {
['not_a_date'],
])('rejects %s', async (value) => {
expect(await input(Test, { stringField: value })).toStrictEqual(
Result.err('date is not formatted as `yyyy-mm-dd` or not a valid Date')
Result.err('stringField is not formatted as `yyyy-mm-dd` or not a valid Date')
);
});
});
Expand Down Expand Up @@ -298,7 +298,7 @@ describe('IsString', () => {
['not_a_date'],
])('rejects %s', async (value) => {
expect(await input(Test, { stringField: value })).toStrictEqual(
Result.err('date is not in a ISO8601 format.')
Result.err('stringField is not in a ISO8601 format.')
);
});
});
Expand Down

0 comments on commit 94e3a86

Please sign in to comment.