Skip to content

Commit 716b95d

Browse files
authored
Merge pull request #612 from santhosh-tekuri/rjp-positive
Add RJP test 'explicit positive prefix'
2 parents c8f210c + 320c804 commit 716b95d

File tree

4 files changed

+20
-0
lines changed

4 files changed

+20
-0
lines changed

tests/draft-next/optional/format/relative-json-pointer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@
6666
"data": "-1/foo/bar",
6767
"valid": false
6868
},
69+
{
70+
"description": "explicit positive prefix",
71+
"data": "+1/foo/bar",
72+
"valid": false
73+
},
6974
{
7075
"description": "## is not a valid json-pointer",
7176
"data": "0##",

tests/draft2019-09/optional/format/relative-json-pointer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@
6666
"data": "-1/foo/bar",
6767
"valid": false
6868
},
69+
{
70+
"description": "explicit positive prefix",
71+
"data": "+1/foo/bar",
72+
"valid": false
73+
},
6974
{
7075
"description": "## is not a valid json-pointer",
7176
"data": "0##",

tests/draft2020-12/optional/format/relative-json-pointer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@
6666
"data": "-1/foo/bar",
6767
"valid": false
6868
},
69+
{
70+
"description": "explicit positive prefix",
71+
"data": "+1/foo/bar",
72+
"valid": false
73+
},
6974
{
7075
"description": "## is not a valid json-pointer",
7176
"data": "0##",

tests/draft7/optional/format/relative-json-pointer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@
6363
"data": "-1/foo/bar",
6464
"valid": false
6565
},
66+
{
67+
"description": "explicit positive prefix",
68+
"data": "+1/foo/bar",
69+
"valid": false
70+
},
6671
{
6772
"description": "## is not a valid json-pointer",
6873
"data": "0##",

0 commit comments

Comments
 (0)