File tree Expand file tree Collapse file tree 2 files changed +8
-12
lines changed Expand file tree Collapse file tree 2 files changed +8
-12
lines changed Original file line number Diff line number Diff line change 41
41
]
42
42
},
43
43
{
44
- "description" : " using non-ascii regex additionalProperties being false does not allow other properties " ,
44
+ "description" : " non-ASCII pattern with additionalProperties " ,
45
45
"schema" : {
46
- "patternProperties" : {
47
- "^á" : {}
48
- },
46
+ "patternProperties" : {"^á" : {}},
49
47
"additionalProperties" : false
50
48
},
51
49
"tests" : [
52
50
{
53
- "description" : " non-ascii patternProperties matching the pattern is valid" ,
51
+ "description" : " matching the pattern is valid" ,
54
52
"data" : {"ármányos" : 2 },
55
53
"valid" : true
56
54
},
57
55
{
58
- "description" : " additional non-ascii patternProperties not matching the pattern is invalid" ,
56
+ "description" : " not matching the pattern is invalid" ,
59
57
"data" : {"élmény" : 2 },
60
58
"valid" : false
61
59
}
Original file line number Diff line number Diff line change 41
41
]
42
42
},
43
43
{
44
- "description" : " using non-ascii regex additionalProperties being false does not allow other properties " ,
44
+ "description" : " non-ASCII pattern with additionalProperties " ,
45
45
"schema" : {
46
- "patternProperties" : {
47
- "^á" : {}
48
- },
46
+ "patternProperties" : {"^á" : {}},
49
47
"additionalProperties" : false
50
48
},
51
49
"tests" : [
52
50
{
53
- "description" : " non-ascii patternProperties matching the pattern is valid" ,
51
+ "description" : " matching the pattern is valid" ,
54
52
"data" : {"ármányos" : 2 },
55
53
"valid" : true
56
54
},
57
55
{
58
- "description" : " additional non-ascii patternProperties not matching the pattern is invalid" ,
56
+ "description" : " not matching the pattern is invalid" ,
59
57
"data" : {"élmény" : 2 },
60
58
"valid" : false
61
59
}
You can’t perform that action at this time.
0 commit comments