diff --git a/Schyntax.Tests/tests.json b/Schyntax.Tests/tests.json index d5916cb..32e0adb 100644 --- a/Schyntax.Tests/tests.json +++ b/Schyntax.Tests/tests.json @@ -1,6 +1,6 @@ { - "testsVersion": 12, - "hash": "21faad4d0fcdcfa05c370e6eaa8efcf6", + "testsVersion": 3, + "hash": "6f4e31d5dfd80a28738c8c5103d6d817", "comment": "THIS IS A GENERATED FILE. No changes should be made to this file directly. See: https://github.com/schyntax/schyntax/blob/master/WritingTests.md", "suites": { "argumentErrors": [ @@ -1199,10 +1199,82 @@ "next": "2014-01-07T00:00:00.000Z" }, { - "format": "dom(20..<10)", - "date": "2014-01-09T00:00:00.000Z", - "prev": "2014-01-09T00:00:00.000Z", - "next": "2014-01-20T00:00:00.000Z" + "format": "doy(10%3)", + "date": "2015-01-02T00:00:00.000Z", + "prev": "2014-12-30T00:00:00.000Z", + "next": "2015-01-10T00:00:00.000Z" + }, + { + "format": "doy(10%3)", + "date": "2015-01-10T00:00:00.000Z", + "prev": "2015-01-10T00:00:00.000Z", + "next": "2015-01-13T00:00:00.000Z" + }, + { + "format": "doy(1%10)", + "date": "2015-03-05T00:00:00.000Z", + "prev": "2015-03-02T00:00:00.000Z", + "next": "2015-03-12T00:00:00.000Z" + }, + { + "format": "doy(100)", + "date": "2015-08-28T00:00:00.000Z", + "prev": "2015-04-10T00:00:00.000Z", + "next": "2016-04-09T00:00:00.000Z" + }, + { + "format": "doy(-100)", + "date": "2015-08-28T00:00:00.000Z", + "prev": "2014-09-23T00:00:00.000Z", + "next": "2015-09-23T00:00:00.000Z" + }, + { + "format": "doy(96..102) dow(mon)", + "date": "2015-08-28T00:00:00.000Z", + "prev": "2015-04-06T00:00:00.000Z", + "next": "2016-04-11T00:00:00.000Z" + }, + { + "format": "doy(96..102) dow(tue)", + "date": "2015-08-28T00:00:00.000Z", + "prev": "2015-04-07T00:00:00.000Z", + "next": "2016-04-05T00:00:00.000Z" + }, + { + "format": "doy(96..102) dow(wed)", + "date": "2015-08-28T00:00:00.000Z", + "prev": "2015-04-08T00:00:00.000Z", + "next": "2016-04-06T00:00:00.000Z" + }, + { + "format": "doy(96..102) dow(thu)", + "date": "2015-08-28T00:00:00.000Z", + "prev": "2015-04-09T00:00:00.000Z", + "next": "2016-04-07T00:00:00.000Z" + }, + { + "format": "doy(96..102) dow(fri)", + "date": "2015-08-28T00:00:00.000Z", + "prev": "2015-04-10T00:00:00.000Z", + "next": "2016-04-08T00:00:00.000Z" + }, + { + "format": "doy(96..102) dow(sat)", + "date": "2015-08-28T00:00:00.000Z", + "prev": "2015-04-11T00:00:00.000Z", + "next": "2016-04-09T00:00:00.000Z" + }, + { + "format": "doy(96..102) dow(sun)", + "date": "2015-08-28T00:00:00.000Z", + "prev": "2015-04-12T00:00:00.000Z", + "next": "2016-04-10T00:00:00.000Z" + }, + { + "format": "doy(100) hour(4) min(1) sec(1)", + "date": "2015-08-28T00:00:00.000Z", + "prev": "2015-04-10T04:01:01.000Z", + "next": "2016-04-09T04:01:01.000Z" }, { "format": "doy(0)", @@ -1213,7 +1285,7 @@ "parseErrorIndex": 4 }, { - "format": "dom(-367)", + "format": "doy(-367)", "parseErrorIndex": 4 } ],