File tree Expand file tree Collapse file tree 8 files changed +128
-0
lines changed Expand file tree Collapse file tree 8 files changed +128
-0
lines changed Original file line number Diff line number Diff line change 238
238
"valid" : false
239
239
}
240
240
]
241
+ },
242
+ {
243
+ "description" : " nul characters in strings" ,
244
+ "schema" : { "const" : " hello\u0000 there" },
245
+ "tests" : [
246
+ {
247
+ "description" : " match string with nul" ,
248
+ "data" : " hello\u0000 there" ,
249
+ "valid" : true
250
+ },
251
+ {
252
+ "description" : " do not match string lacking nul" ,
253
+ "data" : " hellothere" ,
254
+ "valid" : false
255
+ }
256
+ ]
241
257
}
242
258
]
Original file line number Diff line number Diff line change 206
206
"valid" : true
207
207
}
208
208
]
209
+ },
210
+ {
211
+ "description" : " nul characters in strings" ,
212
+ "schema" : { "enum" : [ " hello\u0000 there" ] },
213
+ "tests" : [
214
+ {
215
+ "description" : " match string with nul" ,
216
+ "data" : " hello\u0000 there" ,
217
+ "valid" : true
218
+ },
219
+ {
220
+ "description" : " do not match string lacking nul" ,
221
+ "data" : " hellothere" ,
222
+ "valid" : false
223
+ }
224
+ ]
209
225
}
210
226
]
Original file line number Diff line number Diff line change 98
98
"valid" : false
99
99
}
100
100
]
101
+ },
102
+ {
103
+ "description" : " nul characters in strings" ,
104
+ "schema" : { "enum" : [ " hello\u0000 there" ] },
105
+ "tests" : [
106
+ {
107
+ "description" : " match string with nul" ,
108
+ "data" : " hello\u0000 there" ,
109
+ "valid" : true
110
+ },
111
+ {
112
+ "description" : " do not match string lacking nul" ,
113
+ "data" : " hellothere" ,
114
+ "valid" : false
115
+ }
116
+ ]
101
117
}
102
118
]
Original file line number Diff line number Diff line change 206
206
"valid" : true
207
207
}
208
208
]
209
+ },
210
+ {
211
+ "description" : " nul characters in strings" ,
212
+ "schema" : { "enum" : [ " hello\u0000 there" ] },
213
+ "tests" : [
214
+ {
215
+ "description" : " match string with nul" ,
216
+ "data" : " hello\u0000 there" ,
217
+ "valid" : true
218
+ },
219
+ {
220
+ "description" : " do not match string lacking nul" ,
221
+ "data" : " hellothere" ,
222
+ "valid" : false
223
+ }
224
+ ]
209
225
}
210
226
]
Original file line number Diff line number Diff line change 238
238
"valid" : false
239
239
}
240
240
]
241
+ },
242
+ {
243
+ "description" : " nul characters in strings" ,
244
+ "schema" : { "const" : " hello\u0000 there" },
245
+ "tests" : [
246
+ {
247
+ "description" : " match string with nul" ,
248
+ "data" : " hello\u0000 there" ,
249
+ "valid" : true
250
+ },
251
+ {
252
+ "description" : " do not match string lacking nul" ,
253
+ "data" : " hellothere" ,
254
+ "valid" : false
255
+ }
256
+ ]
241
257
}
242
258
]
Original file line number Diff line number Diff line change 206
206
"valid" : true
207
207
}
208
208
]
209
+ },
210
+ {
211
+ "description" : " nul characters in strings" ,
212
+ "schema" : { "enum" : [ " hello\u0000 there" ] },
213
+ "tests" : [
214
+ {
215
+ "description" : " match string with nul" ,
216
+ "data" : " hello\u0000 there" ,
217
+ "valid" : true
218
+ },
219
+ {
220
+ "description" : " do not match string lacking nul" ,
221
+ "data" : " hellothere" ,
222
+ "valid" : false
223
+ }
224
+ ]
209
225
}
210
226
]
Original file line number Diff line number Diff line change 238
238
"valid" : false
239
239
}
240
240
]
241
+ },
242
+ {
243
+ "description" : " nul characters in strings" ,
244
+ "schema" : { "const" : " hello\u0000 there" },
245
+ "tests" : [
246
+ {
247
+ "description" : " match string with nul" ,
248
+ "data" : " hello\u0000 there" ,
249
+ "valid" : true
250
+ },
251
+ {
252
+ "description" : " do not match string lacking nul" ,
253
+ "data" : " hellothere" ,
254
+ "valid" : false
255
+ }
256
+ ]
241
257
}
242
258
]
Original file line number Diff line number Diff line change 206
206
"valid" : true
207
207
}
208
208
]
209
+ },
210
+ {
211
+ "description" : " nul characters in strings" ,
212
+ "schema" : { "enum" : [ " hello\u0000 there" ] },
213
+ "tests" : [
214
+ {
215
+ "description" : " match string with nul" ,
216
+ "data" : " hello\u0000 there" ,
217
+ "valid" : true
218
+ },
219
+ {
220
+ "description" : " do not match string lacking nul" ,
221
+ "data" : " hellothere" ,
222
+ "valid" : false
223
+ }
224
+ ]
209
225
}
210
226
]
You can’t perform that action at this time.
0 commit comments