summaryrefslogtreecommitdiff
path: root/json/tests/draft2019-09/optional/ecmascript-regex.json
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2022-08-06 11:49:26 +0300
committerJulian Berman <Julian@GrayVines.com>2022-08-06 11:49:26 +0300
commit559aa6d73dea70e029c8e3dc33369548b19cb8eb (patch)
tree362b7c57cd44ee98426ca5ca8e56b0b09e2fb4a6 /json/tests/draft2019-09/optional/ecmascript-regex.json
parent08898c4b64c3084229cf5c5463365a11128ada5b (diff)
parent7a5fd08611cb2fb07b8200860a4e352eb33ae7bf (diff)
downloadjsonschema-559aa6d73dea70e029c8e3dc33369548b19cb8eb.tar.gz
Merge commit '7a5fd08611cb2fb07b8200860a4e352eb33ae7bf'
* commit '7a5fd08611cb2fb07b8200860a4e352eb33ae7bf': Squashed 'json/' changes from 2782d7c29..f82764080
Diffstat (limited to 'json/tests/draft2019-09/optional/ecmascript-regex.json')
-rw-r--r--json/tests/draft2019-09/optional/ecmascript-regex.json12
1 files changed, 6 insertions, 6 deletions
diff --git a/json/tests/draft2019-09/optional/ecmascript-regex.json b/json/tests/draft2019-09/optional/ecmascript-regex.json
index 1beb0b3..764248f 100644
--- a/json/tests/draft2019-09/optional/ecmascript-regex.json
+++ b/json/tests/draft2019-09/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": [
{
@@ -384,7 +384,7 @@
]
},
{
- "description": "unicode digits are more than 0 through 9",
+ "description": "pattern with non-ASCII digits",
"schema": { "pattern": "^\\p{digit}+$" },
"tests": [
{
@@ -469,7 +469,7 @@
]
},
{
- "description": "unicode characters do not match ascii ranges",
+ "description": "patternProperties with ASCII ranges",
"schema": {
"type": "object",
"patternProperties": {
@@ -523,7 +523,7 @@
]
},
{
- "description": "unicode digits are more than 0 through 9",
+ "description": "patternProperties with non-ASCII digits",
"schema": {
"type": "object",
"patternProperties": {