From 42faa0395bc99886cdd821723cbfc863c6656f74 Mon Sep 17 00:00:00 2001 From: Andrew Jones Date: Mon, 4 Dec 2023 14:04:15 +0000 Subject: [PATCH] Update test/20-dateRegex.spec.js correct false negative with correct test data. Co-authored-by: Tashi D. Gyeltshen <38434620+JSAssassin@users.noreply.github.com> --- test/20-dateRegex.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/20-dateRegex.spec.js b/test/20-dateRegex.spec.js index 78f1a2e5..b24a72fb 100644 --- a/test/20-dateRegex.spec.js +++ b/test/20-dateRegex.spec.js @@ -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);