Skip to content

Commit

Permalink
test: duration format must start with P
Browse files Browse the repository at this point in the history
  • Loading branch information
santhosh-tekuri committed May 19, 2024
1 parent 9fc880b commit c00a3f9
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/draft-next/optional/format/duration.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@
"data": "PT1D",
"valid": false
},
{
"description": "must start with P",
"data": "4DT12H30M5S",
"valid": false
},
{
"description": "no elements present",
"data": "P",
Expand Down
5 changes: 5 additions & 0 deletions tests/draft2019-09/optional/format/duration.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@
"data": "PT1D",
"valid": false
},
{
"description": "must start with P",
"data": "4DT12H30M5S",
"valid": false
},
{
"description": "no elements present",
"data": "P",
Expand Down
5 changes: 5 additions & 0 deletions tests/draft2020-12/optional/format/duration.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@
"data": "PT1D",
"valid": false
},
{
"description": "must start with P",
"data": "4DT12H30M5S",
"valid": false
},
{
"description": "no elements present",
"data": "P",
Expand Down

0 comments on commit c00a3f9

Please sign in to comment.