Skip to content

Commit cfe8000

Browse files
Add relative-json-pointer test with empty string
1 parent 9251ebf commit cfe8000

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
@@ -80,6 +80,11 @@
8080
"description": "zero cannot be followed by other digits, plus octothorpe",
8181
"data": "01#",
8282
"valid": false
83+
},
84+
{
85+
"description": "empty string",
86+
"data": "",
87+
"valid": false
8388
}
8489
]
8590
}

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@
8080
"description": "zero cannot be followed by other digits, plus octothorpe",
8181
"data": "01#",
8282
"valid": false
83+
},
84+
{
85+
"description": "empty string",
86+
"data": "",
87+
"valid": false
8388
}
8489
]
8590
}

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@
8080
"description": "zero cannot be followed by other digits, plus octothorpe",
8181
"data": "01#",
8282
"valid": false
83+
},
84+
{
85+
"description": "empty string",
86+
"data": "",
87+
"valid": false
8388
}
8489
]
8590
}

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,11 @@
7777
"description": "zero cannot be followed by other digits, plus octothorpe",
7878
"data": "01#",
7979
"valid": false
80+
},
81+
{
82+
"description": "empty string",
83+
"data": "",
84+
"valid": false
8085
}
8186
]
8287
}

0 commit comments

Comments
 (0)