Skip to content

Commit 27cc299

Browse files
Add RJP test 'multi-digit integer prefix'
1 parent c8f210c commit 27cc299

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
@@ -85,6 +85,11 @@
8585
"description": "empty string",
8686
"data": "",
8787
"valid": false
88+
},
89+
{
90+
"description": "multi-digit integer prefix",
91+
"data": "120/foo/bar",
92+
"valid": true
8893
}
8994
]
9095
}

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,11 @@
8585
"description": "empty string",
8686
"data": "",
8787
"valid": false
88+
},
89+
{
90+
"description": "multi-digit integer prefix",
91+
"data": "120/foo/bar",
92+
"valid": true
8893
}
8994
]
9095
}

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,11 @@
8585
"description": "empty string",
8686
"data": "",
8787
"valid": false
88+
},
89+
{
90+
"description": "multi-digit integer prefix",
91+
"data": "120/foo/bar",
92+
"valid": true
8893
}
8994
]
9095
}

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,11 @@
8282
"description": "empty string",
8383
"data": "",
8484
"valid": false
85+
},
86+
{
87+
"description": "multi-digit integer prefix",
88+
"data": "120/foo/bar",
89+
"valid": true
8590
}
8691
]
8792
}

0 commit comments

Comments
 (0)