Skip to content

Commit

Permalink
Update test/20-dateRegex.spec.js correct false negative with correct …
Browse files Browse the repository at this point in the history
…test data.

Co-authored-by: Tashi D. Gyeltshen <[email protected]>
  • Loading branch information
aljones15 and JSAssassin authored Dec 4, 2023
1 parent a82016a commit 42faa03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/20-dateRegex.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ describe('verifies XML Schema DateTime', function() {
assertDateTime('2019-00-26T14:00:00Z', false);
});
it('should not accept 13 as a month', function() {
assertDateTime('2019-00-26T14:00:00Z', false);
assertDateTime('2019-13-26T14:00:00Z', false);
});
it('should not accept 00 as a day', function() {
assertDateTime('2019-01-00T14:00:00Z', false);
Expand Down

0 comments on commit 42faa03

Please sign in to comment.