Skip to content

Commit 8a12994

Browse files
committed
Remove invalid format:regex test; the spec doesn't mandate parsing correctness
1 parent fce9e9b commit 8a12994

File tree

4 files changed

+0
-44
lines changed

4 files changed

+0
-44
lines changed

tests/draft2019-09/optional/ecmascript-regex.json

-11
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,4 @@
11
[
2-
{
3-
"description": "ECMA 262 regex non-compliance",
4-
"schema": { "format": "regex" },
5-
"tests": [
6-
{
7-
"description": "ECMA 262 has no support for \\Z anchor from .NET",
8-
"data": "^\\S(|(.|\\n)*\\S)\\Z",
9-
"valid": false
10-
}
11-
]
12-
},
132
{
143
"description": "ECMA 262 regex $ does not match trailing newline",
154
"schema": {

tests/draft4/optional/ecmascript-regex.json

-11
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,4 @@
11
[
2-
{
3-
"description": "ECMA 262 regex non-compliance",
4-
"schema": { "format": "regex" },
5-
"tests": [
6-
{
7-
"description": "ECMA 262 has no support for \\Z anchor from .NET",
8-
"data": "^\\S(|(.|\\n)*\\S)\\Z",
9-
"valid": false
10-
}
11-
]
12-
},
132
{
143
"description": "ECMA 262 regex $ does not match trailing newline",
154
"schema": {

tests/draft6/optional/ecmascript-regex.json

-11
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,4 @@
11
[
2-
{
3-
"description": "ECMA 262 regex non-compliance",
4-
"schema": { "format": "regex" },
5-
"tests": [
6-
{
7-
"description": "ECMA 262 has no support for \\Z anchor from .NET",
8-
"data": "^\\S(|(.|\\n)*\\S)\\Z",
9-
"valid": false
10-
}
11-
]
12-
},
132
{
143
"description": "ECMA 262 regex $ does not match trailing newline",
154
"schema": {

tests/draft7/optional/ecmascript-regex.json

-11
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,4 @@
11
[
2-
{
3-
"description": "ECMA 262 regex non-compliance",
4-
"schema": { "format": "regex" },
5-
"tests": [
6-
{
7-
"description": "ECMA 262 has no support for \\Z anchor from .NET",
8-
"data": "^\\S(|(.|\\n)*\\S)\\Z",
9-
"valid": false
10-
}
11-
]
12-
},
132
{
143
"description": "ECMA 262 regex $ does not match trailing newline",
154
"schema": {

0 commit comments

Comments
 (0)