From cfe80006ad245263a65749fc0020b6a98e42e8ca Mon Sep 17 00:00:00 2001 From: Santhosh Kumar Tekuri Date: Mon, 14 Nov 2022 23:05:50 +0530 Subject: [PATCH] Add relative-json-pointer test with empty string --- tests/draft-next/optional/format/relative-json-pointer.json | 5 +++++ .../draft2019-09/optional/format/relative-json-pointer.json | 5 +++++ .../draft2020-12/optional/format/relative-json-pointer.json | 5 +++++ tests/draft7/optional/format/relative-json-pointer.json | 5 +++++ 4 files changed, 20 insertions(+) diff --git a/tests/draft-next/optional/format/relative-json-pointer.json b/tests/draft-next/optional/format/relative-json-pointer.json index 0eebe03a..8533292d 100644 --- a/tests/draft-next/optional/format/relative-json-pointer.json +++ b/tests/draft-next/optional/format/relative-json-pointer.json @@ -80,6 +80,11 @@ "description": "zero cannot be followed by other digits, plus octothorpe", "data": "01#", "valid": false + }, + { + "description": "empty string", + "data": "", + "valid": false } ] } diff --git a/tests/draft2019-09/optional/format/relative-json-pointer.json b/tests/draft2019-09/optional/format/relative-json-pointer.json index 93735366..6206907e 100644 --- a/tests/draft2019-09/optional/format/relative-json-pointer.json +++ b/tests/draft2019-09/optional/format/relative-json-pointer.json @@ -80,6 +80,11 @@ "description": "zero cannot be followed by other digits, plus octothorpe", "data": "01#", "valid": false + }, + { + "description": "empty string", + "data": "", + "valid": false } ] } diff --git a/tests/draft2020-12/optional/format/relative-json-pointer.json b/tests/draft2020-12/optional/format/relative-json-pointer.json index 3454b631..477171f7 100644 --- a/tests/draft2020-12/optional/format/relative-json-pointer.json +++ b/tests/draft2020-12/optional/format/relative-json-pointer.json @@ -80,6 +80,11 @@ "description": "zero cannot be followed by other digits, plus octothorpe", "data": "01#", "valid": false + }, + { + "description": "empty string", + "data": "", + "valid": false } ] } diff --git a/tests/draft7/optional/format/relative-json-pointer.json b/tests/draft7/optional/format/relative-json-pointer.json index 9309986f..37102b75 100644 --- a/tests/draft7/optional/format/relative-json-pointer.json +++ b/tests/draft7/optional/format/relative-json-pointer.json @@ -77,6 +77,11 @@ "description": "zero cannot be followed by other digits, plus octothorpe", "data": "01#", "valid": false + }, + { + "description": "empty string", + "data": "", + "valid": false } ] }