Skip to content

Commit 498fd97

Browse files
committed
Tidy the descriptions a bit.
1 parent 94ce498 commit 498fd97

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed

tests/draft3/additionalProperties.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,21 +41,19 @@
4141
]
4242
},
4343
{
44-
"description": "using non-ascii regex additionalProperties being false does not allow other properties ",
44+
"description": "non-ASCII pattern with additionalProperties",
4545
"schema": {
46-
"patternProperties": {
47-
"^á": {}
48-
},
46+
"patternProperties": {"^á": {}},
4947
"additionalProperties": false
5048
},
5149
"tests": [
5250
{
53-
"description": "non-ascii patternProperties matching the pattern is valid",
51+
"description": "matching the pattern is valid",
5452
"data": {"ármányos": 2},
5553
"valid": true
5654
},
5755
{
58-
"description": "additional non-ascii patternProperties not matching the pattern is invalid",
56+
"description": "not matching the pattern is invalid",
5957
"data": {"élmény": 2},
6058
"valid": false
6159
}

tests/draft4/additionalProperties.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,21 +41,19 @@
4141
]
4242
},
4343
{
44-
"description": "using non-ascii regex additionalProperties being false does not allow other properties ",
44+
"description": "non-ASCII pattern with additionalProperties",
4545
"schema": {
46-
"patternProperties": {
47-
"^á": {}
48-
},
46+
"patternProperties": {"^á": {}},
4947
"additionalProperties": false
5048
},
5149
"tests": [
5250
{
53-
"description": "non-ascii patternProperties matching the pattern is valid",
51+
"description": "matching the pattern is valid",
5452
"data": {"ármányos": 2},
5553
"valid": true
5654
},
5755
{
58-
"description": "additional non-ascii patternProperties not matching the pattern is invalid",
56+
"description": "not matching the pattern is invalid",
5957
"data": {"élmény": 2},
6058
"valid": false
6159
}

0 commit comments

Comments
 (0)