diff --git a/tests/draft-next/optional/format/duration.json b/tests/draft-next/optional/format/duration.json index c890b5d6..d5adca20 100644 --- a/tests/draft-next/optional/format/duration.json +++ b/tests/draft-next/optional/format/duration.json @@ -125,6 +125,11 @@ "description": "invalid non-ASCII '২' (a Bengali 2)", "data": "P২Y", "valid": false + }, + { + "description": "element without unit", + "data": "P1", + "valid": false } ] } diff --git a/tests/draft2019-09/optional/format/duration.json b/tests/draft2019-09/optional/format/duration.json index 0f8acb71..00d5f47a 100644 --- a/tests/draft2019-09/optional/format/duration.json +++ b/tests/draft2019-09/optional/format/duration.json @@ -125,6 +125,11 @@ "description": "invalid non-ASCII '২' (a Bengali 2)", "data": "P২Y", "valid": false + }, + { + "description": "element without unit", + "data": "P1", + "valid": false } ] } diff --git a/tests/draft2020-12/optional/format/duration.json b/tests/draft2020-12/optional/format/duration.json index 18fccd3d..a3af56ef 100644 --- a/tests/draft2020-12/optional/format/duration.json +++ b/tests/draft2020-12/optional/format/duration.json @@ -125,6 +125,11 @@ "description": "invalid non-ASCII '২' (a Bengali 2)", "data": "P২Y", "valid": false + }, + { + "description": "element without unit", + "data": "P1", + "valid": false } ] }