-
-
Notifications
You must be signed in to change notification settings - Fork 219
fix optional test locations #382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
69d3523
move format tests to their own directory
karenetheridge e2248ce
move non-format tests out of the format directory
karenetheridge 81a1feb
squash: keep all ECMA tests together
karenetheridge 36a61ae
squash: remove these empty files
karenetheridge 314a1af
squash: keep all ECMA tests together
karenetheridge File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
[ | ||
{ | ||
"description": "validation of CSS colors", | ||
"schema": {"format": "color"}, | ||
"tests": [ | ||
{ | ||
"description": "a valid CSS color name", | ||
"data": "fuchsia", | ||
"valid": true | ||
}, | ||
{ | ||
"description": "a valid six-digit CSS color code", | ||
"data": "#CC8899", | ||
"valid": true | ||
}, | ||
{ | ||
"description": "a valid three-digit CSS color code", | ||
"data": "#C89", | ||
"valid": true | ||
}, | ||
{ | ||
"description": "an invalid CSS color code", | ||
"data": "#00332520", | ||
"valid": false | ||
}, | ||
{ | ||
"description": "an invalid CSS color name", | ||
"data": "puce", | ||
"valid": false | ||
}, | ||
{ | ||
"description": "a CSS color name containing invalid characters", | ||
"data": "light_grayish_red-violet", | ||
"valid": false | ||
} | ||
] | ||
} | ||
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[ | ||
{ | ||
"description": "validation of date-time strings", | ||
"schema": {"format": "date-time"}, | ||
"tests": [ | ||
{ | ||
"description": "a valid date-time string", | ||
"data": "1963-06-19T08:30:06.283185Z", | ||
"valid": true | ||
}, | ||
{ | ||
"description": "an invalid date-time string", | ||
"data": "06/19/1963 08:30:06 PST", | ||
"valid": false | ||
}, | ||
{ | ||
"description": "case-insensitive T and Z", | ||
"data": "1963-06-19t08:30:06.283185z", | ||
"valid": true | ||
}, | ||
{ | ||
"description": "only RFC3339 not all of ISO 8601 are valid", | ||
"data": "2013-350T01:01:01", | ||
"valid": false | ||
} | ||
] | ||
} | ||
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[ | ||
{ | ||
"description": "validation of date strings", | ||
"schema": {"format": "date"}, | ||
"tests": [ | ||
{ | ||
"description": "a valid date string", | ||
"data": "1963-06-19", | ||
"valid": true | ||
}, | ||
{ | ||
"description": "an invalid date string", | ||
"data": "06/19/1963", | ||
"valid": false | ||
} | ||
] | ||
} | ||
] | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[ | ||
{ | ||
"description": "validation of e-mail addresses", | ||
"schema": {"format": "email"}, | ||
"tests": [ | ||
{ | ||
"description": "a valid e-mail address", | ||
"data": "[email protected]", | ||
"valid": true | ||
}, | ||
{ | ||
"description": "an invalid e-mail address", | ||
"data": "2962", | ||
"valid": false | ||
} | ||
] | ||
} | ||
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[ | ||
{ | ||
"description": "validation of host names", | ||
"schema": {"format": "host-name"}, | ||
"tests": [ | ||
{ | ||
"description": "a valid host name", | ||
"data": "www.example.com", | ||
"valid": true | ||
}, | ||
{ | ||
"description": "a host name starting with an illegal character", | ||
"data": "-a-host-name-that-starts-with--", | ||
"valid": false | ||
}, | ||
{ | ||
"description": "a host name containing illegal characters", | ||
"data": "not_a_valid_host_name", | ||
"valid": false | ||
}, | ||
{ | ||
"description": "a host name with a component too long", | ||
"data": "a-vvvvvvvvvvvvvvvveeeeeeeeeeeeeeeerrrrrrrrrrrrrrrryyyyyyyyyyyyyyyy-long-host-name-component", | ||
"valid": false | ||
} | ||
] | ||
} | ||
] |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.