summaryrefslogtreecommitdiff
path: root/json/tests/draft-next/optional/ecmascript-regex.json
diff options
context:
space:
mode:
Diffstat (limited to 'json/tests/draft-next/optional/ecmascript-regex.json')
-rw-r--r--json/tests/draft-next/optional/ecmascript-regex.json12
1 files changed, 6 insertions, 6 deletions
diff --git a/json/tests/draft-next/optional/ecmascript-regex.json b/json/tests/draft-next/optional/ecmascript-regex.json
index 5bbfc45..9f79d42 100644
--- a/json/tests/draft-next/optional/ecmascript-regex.json
+++ b/json/tests/draft-next/optional/ecmascript-regex.json
@@ -7,12 +7,12 @@
},
"tests": [
{
- "description": "matches in Python, but should not in jsonschema",
+ "description": "matches in Python, but not in ECMA 262",
"data": "abc\\n",
"valid": false
},
{
- "description": "should match",
+ "description": "matches",
"data": "abc",
"valid": true
}
@@ -342,7 +342,7 @@
]
},
{
- "description": "unicode characters do not match ascii ranges",
+ "description": "pattern with ASCII ranges",
"schema": { "pattern": "[a-z]cole" },
"tests": [
{
@@ -395,7 +395,7 @@
]
},
{
- "description": "unicode digits are more than 0 through 9",
+ "description": "pattern with non-ASCII digits",
"schema": { "pattern": "^\\p{digit}+$" },
"tests": [
{
@@ -480,7 +480,7 @@
]
},
{
- "description": "unicode characters do not match ascii ranges",
+ "description": "patternProperties with ASCII ranges",
"schema": {
"type": "object",
"patternProperties": {
@@ -534,7 +534,7 @@
]
},
{
- "description": "unicode digits are more than 0 through 9",
+ "description": "patternProperties with non-ASCII digits",
"schema": {
"type": "object",
"patternProperties": {