Skip to content

Commit

Permalink
Merge pull request #606 from santhosh-tekuri/duration-nounit
Browse files Browse the repository at this point in the history
test duration format 'element without unit'
  • Loading branch information
Julian authored Nov 16, 2022
2 parents 1344807 + 80fe2db commit f00ec10
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 @@ -125,6 +125,11 @@
"description": "invalid non-ASCII '২' (a Bengali 2)",
"data": "P২Y",
"valid": false
},
{
"description": "element without unit",
"data": "P1",
"valid": false
}
]
}
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 @@ -125,6 +125,11 @@
"description": "invalid non-ASCII '২' (a Bengali 2)",
"data": "P২Y",
"valid": false
},
{
"description": "element without unit",
"data": "P1",
"valid": false
}
]
}
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 @@ -125,6 +125,11 @@
"description": "invalid non-ASCII '২' (a Bengali 2)",
"data": "P২Y",
"valid": false
},
{
"description": "element without unit",
"data": "P1",
"valid": false
}
]
}
Expand Down

0 comments on commit f00ec10

Please sign in to comment.