summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2019-10-07 16:36:14 -0400
committerJulian Berman <Julian@GrayVines.com>2019-10-07 16:36:14 -0400
commit8012a786ff8ab4f57c8e128f458c4061540f1983 (patch)
treeb9cc38d136e26a1053d5e9b4bf2e282d36726647
parente62b64b3433d05bceb4a2059c2a13067040826bf (diff)
downloadjsonschema-8012a786ff8ab4f57c8e128f458c4061540f1983.tar.gz
Squashed 'json/' changes from 2d554504..4e6c78b4
4e6c78b4 Make the draft3 ECMA regex tests consistently named. 433ab2f0 Merge pull request #286 from Zac-HD/not-patterns dbaa3aac Fix data - escape unicode, not regex pattern git-subtree-dir: json git-subtree-split: 4e6c78b4d878aa427d7b41e7b65cde0ea6f503ea
-rw-r--r--tests/draft2019-09/optional/ecmascript-regex.json8
-rw-r--r--tests/draft3/optional/ecmascript-regex.json (renamed from tests/draft3/optional/jsregex.json)0
-rw-r--r--tests/draft4/optional/ecmascript-regex.json8
-rw-r--r--tests/draft6/optional/ecmascript-regex.json8
-rw-r--r--tests/draft7/optional/ecmascript-regex.json8
5 files changed, 16 insertions, 16 deletions
diff --git a/tests/draft2019-09/optional/ecmascript-regex.json b/tests/draft2019-09/optional/ecmascript-regex.json
index 7a0cb77..d82e0fe 100644
--- a/tests/draft2019-09/optional/ecmascript-regex.json
+++ b/tests/draft2019-09/optional/ecmascript-regex.json
@@ -105,7 +105,7 @@
},
{
"description": "NKO DIGIT ZERO (as \\u escape) does not match",
- "data": "\\u07c0",
+ "data": "\u07c0",
"valid": false
}
]
@@ -129,7 +129,7 @@
},
{
"description": "NKO DIGIT ZERO (as \\u escape) matches",
- "data": "\\u07c0",
+ "data": "\u07c0",
"valid": true
}
]
@@ -186,7 +186,7 @@
},
{
"description": "latin-1 non-breaking-space does not match (unlike e.g. Python)",
- "data": "\\u00a0",
+ "data": "\u00a0",
"valid": false
}
]
@@ -205,7 +205,7 @@
},
{
"description": "latin-1 non-breaking-space matches (unlike e.g. Python)",
- "data": "\\u00a0",
+ "data": "\u00a0",
"valid": true
}
]
diff --git a/tests/draft3/optional/jsregex.json b/tests/draft3/optional/ecmascript-regex.json
index 03fe977..03fe977 100644
--- a/tests/draft3/optional/jsregex.json
+++ b/tests/draft3/optional/ecmascript-regex.json
diff --git a/tests/draft4/optional/ecmascript-regex.json b/tests/draft4/optional/ecmascript-regex.json
index 7a0cb77..d82e0fe 100644
--- a/tests/draft4/optional/ecmascript-regex.json
+++ b/tests/draft4/optional/ecmascript-regex.json
@@ -105,7 +105,7 @@
},
{
"description": "NKO DIGIT ZERO (as \\u escape) does not match",
- "data": "\\u07c0",
+ "data": "\u07c0",
"valid": false
}
]
@@ -129,7 +129,7 @@
},
{
"description": "NKO DIGIT ZERO (as \\u escape) matches",
- "data": "\\u07c0",
+ "data": "\u07c0",
"valid": true
}
]
@@ -186,7 +186,7 @@
},
{
"description": "latin-1 non-breaking-space does not match (unlike e.g. Python)",
- "data": "\\u00a0",
+ "data": "\u00a0",
"valid": false
}
]
@@ -205,7 +205,7 @@
},
{
"description": "latin-1 non-breaking-space matches (unlike e.g. Python)",
- "data": "\\u00a0",
+ "data": "\u00a0",
"valid": true
}
]
diff --git a/tests/draft6/optional/ecmascript-regex.json b/tests/draft6/optional/ecmascript-regex.json
index 7a0cb77..d82e0fe 100644
--- a/tests/draft6/optional/ecmascript-regex.json
+++ b/tests/draft6/optional/ecmascript-regex.json
@@ -105,7 +105,7 @@
},
{
"description": "NKO DIGIT ZERO (as \\u escape) does not match",
- "data": "\\u07c0",
+ "data": "\u07c0",
"valid": false
}
]
@@ -129,7 +129,7 @@
},
{
"description": "NKO DIGIT ZERO (as \\u escape) matches",
- "data": "\\u07c0",
+ "data": "\u07c0",
"valid": true
}
]
@@ -186,7 +186,7 @@
},
{
"description": "latin-1 non-breaking-space does not match (unlike e.g. Python)",
- "data": "\\u00a0",
+ "data": "\u00a0",
"valid": false
}
]
@@ -205,7 +205,7 @@
},
{
"description": "latin-1 non-breaking-space matches (unlike e.g. Python)",
- "data": "\\u00a0",
+ "data": "\u00a0",
"valid": true
}
]
diff --git a/tests/draft7/optional/ecmascript-regex.json b/tests/draft7/optional/ecmascript-regex.json
index 7a0cb77..d82e0fe 100644
--- a/tests/draft7/optional/ecmascript-regex.json
+++ b/tests/draft7/optional/ecmascript-regex.json
@@ -105,7 +105,7 @@
},
{
"description": "NKO DIGIT ZERO (as \\u escape) does not match",
- "data": "\\u07c0",
+ "data": "\u07c0",
"valid": false
}
]
@@ -129,7 +129,7 @@
},
{
"description": "NKO DIGIT ZERO (as \\u escape) matches",
- "data": "\\u07c0",
+ "data": "\u07c0",
"valid": true
}
]
@@ -186,7 +186,7 @@
},
{
"description": "latin-1 non-breaking-space does not match (unlike e.g. Python)",
- "data": "\\u00a0",
+ "data": "\u00a0",
"valid": false
}
]
@@ -205,7 +205,7 @@
},
{
"description": "latin-1 non-breaking-space matches (unlike e.g. Python)",
- "data": "\\u00a0",
+ "data": "\u00a0",
"valid": true
}
]