Skip to content

Commit 2bafd24

Browse files
committed
Update tests.json
1 parent 7f9a933 commit 2bafd24

File tree

1 file changed

+79
-7
lines changed

1 file changed

+79
-7
lines changed

Schyntax.Tests/tests.json

Lines changed: 79 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"testsVersion": 12,
3-
"hash": "21faad4d0fcdcfa05c370e6eaa8efcf6",
2+
"testsVersion": 3,
3+
"hash": "6f4e31d5dfd80a28738c8c5103d6d817",
44
"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",
55
"suites": {
66
"argumentErrors": [
@@ -1199,10 +1199,82 @@
11991199
"next": "2014-01-07T00:00:00.000Z"
12001200
},
12011201
{
1202-
"format": "dom(20..<10)",
1203-
"date": "2014-01-09T00:00:00.000Z",
1204-
"prev": "2014-01-09T00:00:00.000Z",
1205-
"next": "2014-01-20T00:00:00.000Z"
1202+
"format": "doy(10%3)",
1203+
"date": "2015-01-02T00:00:00.000Z",
1204+
"prev": "2014-12-30T00:00:00.000Z",
1205+
"next": "2015-01-10T00:00:00.000Z"
1206+
},
1207+
{
1208+
"format": "doy(10%3)",
1209+
"date": "2015-01-10T00:00:00.000Z",
1210+
"prev": "2015-01-10T00:00:00.000Z",
1211+
"next": "2015-01-13T00:00:00.000Z"
1212+
},
1213+
{
1214+
"format": "doy(1%10)",
1215+
"date": "2015-03-05T00:00:00.000Z",
1216+
"prev": "2015-03-02T00:00:00.000Z",
1217+
"next": "2015-03-12T00:00:00.000Z"
1218+
},
1219+
{
1220+
"format": "doy(100)",
1221+
"date": "2015-08-28T00:00:00.000Z",
1222+
"prev": "2015-04-10T00:00:00.000Z",
1223+
"next": "2016-04-09T00:00:00.000Z"
1224+
},
1225+
{
1226+
"format": "doy(-100)",
1227+
"date": "2015-08-28T00:00:00.000Z",
1228+
"prev": "2014-09-23T00:00:00.000Z",
1229+
"next": "2015-09-23T00:00:00.000Z"
1230+
},
1231+
{
1232+
"format": "doy(96..102) dow(mon)",
1233+
"date": "2015-08-28T00:00:00.000Z",
1234+
"prev": "2015-04-06T00:00:00.000Z",
1235+
"next": "2016-04-11T00:00:00.000Z"
1236+
},
1237+
{
1238+
"format": "doy(96..102) dow(tue)",
1239+
"date": "2015-08-28T00:00:00.000Z",
1240+
"prev": "2015-04-07T00:00:00.000Z",
1241+
"next": "2016-04-05T00:00:00.000Z"
1242+
},
1243+
{
1244+
"format": "doy(96..102) dow(wed)",
1245+
"date": "2015-08-28T00:00:00.000Z",
1246+
"prev": "2015-04-08T00:00:00.000Z",
1247+
"next": "2016-04-06T00:00:00.000Z"
1248+
},
1249+
{
1250+
"format": "doy(96..102) dow(thu)",
1251+
"date": "2015-08-28T00:00:00.000Z",
1252+
"prev": "2015-04-09T00:00:00.000Z",
1253+
"next": "2016-04-07T00:00:00.000Z"
1254+
},
1255+
{
1256+
"format": "doy(96..102) dow(fri)",
1257+
"date": "2015-08-28T00:00:00.000Z",
1258+
"prev": "2015-04-10T00:00:00.000Z",
1259+
"next": "2016-04-08T00:00:00.000Z"
1260+
},
1261+
{
1262+
"format": "doy(96..102) dow(sat)",
1263+
"date": "2015-08-28T00:00:00.000Z",
1264+
"prev": "2015-04-11T00:00:00.000Z",
1265+
"next": "2016-04-09T00:00:00.000Z"
1266+
},
1267+
{
1268+
"format": "doy(96..102) dow(sun)",
1269+
"date": "2015-08-28T00:00:00.000Z",
1270+
"prev": "2015-04-12T00:00:00.000Z",
1271+
"next": "2016-04-10T00:00:00.000Z"
1272+
},
1273+
{
1274+
"format": "doy(100) hour(4) min(1) sec(1)",
1275+
"date": "2015-08-28T00:00:00.000Z",
1276+
"prev": "2015-04-10T04:01:01.000Z",
1277+
"next": "2016-04-09T04:01:01.000Z"
12061278
},
12071279
{
12081280
"format": "doy(0)",
@@ -1213,7 +1285,7 @@
12131285
"parseErrorIndex": 4
12141286
},
12151287
{
1216-
"format": "dom(-367)",
1288+
"format": "doy(-367)",
12171289
"parseErrorIndex": 4
12181290
}
12191291
],

0 commit comments

Comments
 (0)