Skip to content

Commit

Permalink
Merge pull request #751 from big-andy-coates/format_tests_under_format
Browse files Browse the repository at this point in the history
All format test cases should be under the `format` directory.
  • Loading branch information
karenetheridge authored Sep 18, 2024
2 parents 9fc880b + fe1b139 commit 8ef1550
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 28 deletions.
14 changes: 0 additions & 14 deletions tests/draft-next/optional/ecmascript-regex.json
Original file line number Diff line number Diff line change
Expand Up @@ -405,20 +405,6 @@
}
]
},
{
"description": "\\a is not an ECMA 262 control escape",
"schema": {
"$schema": "https://json-schema.org/draft/next/schema",
"format": "regex"
},
"tests": [
{
"description": "when used as a pattern",
"data": "\\a",
"valid": false
}
]
},
{
"description": "pattern with non-ASCII digits",
"schema": {
Expand Down
16 changes: 16 additions & 0 deletions tests/draft-next/optional/format/ecmascript-regex.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[
{
"description": "\\a is not an ECMA 262 control escape",
"schema": {
"$schema": "https://json-schema.org/draft/next/schema",
"format": "regex"
},
"tests": [
{
"description": "when used as a pattern",
"data": "\\a",
"valid": false
}
]
}
]
14 changes: 0 additions & 14 deletions tests/draft2020-12/optional/ecmascript-regex.json
Original file line number Diff line number Diff line change
Expand Up @@ -405,20 +405,6 @@
}
]
},
{
"description": "\\a is not an ECMA 262 control escape",
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"format": "regex"
},
"tests": [
{
"description": "when used as a pattern",
"data": "\\a",
"valid": false
}
]
},
{
"description": "pattern with non-ASCII digits",
"schema": {
Expand Down
16 changes: 16 additions & 0 deletions tests/draft2020-12/optional/format/ecmascript-regex.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[
{
"description": "\\a is not an ECMA 262 control escape",
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"format": "regex"
},
"tests": [
{
"description": "when used as a pattern",
"data": "\\a",
"valid": false
}
]
}
]
File renamed without changes.

0 comments on commit 8ef1550

Please sign in to comment.