summaryrefslogtreecommitdiff
path: root/test/language/expressions/async-function/early-errors-expression-NSPL-with-USD.js
Commit message (Collapse)AuthorAgeFilesLines
* Rename negative test "phase" for parsingMike Pennisi2018-01-051-1/+1
| | | | | | | | | | | | | | Early errors may result from parsing the source text of a test file, but they may also result from parsing some other source text as referenced through the ES2015 module syntax. The latter form of early error is not necessarily detectable by ECMAScript parsers, however. Because of this, the label "early" is not sufficiently precise for all Test262 consumers to correctly interpret all tests. Update the "phase" name of "early" to "parse" for all those negative tests that describe errors resulting from parsing of the file's source text directly. A forthcoming commit will update the remaining tests to use a "phase" name that is more specific to module resolution.
* Force "early error" tests to fail if evaluatedMike Pennisi2017-06-281-0/+2
| | | | | This pattern makes expectations more explicit by making test files more literal.
* Re-format tests for SyntaxErrorsMike Pennisi2016-10-191-1/+3
| | | | | | | | Authored via the following command: $ find test -type f -print0 | \ xargs -0 sed \ -i 's/^\(\s*\)negative:\s*SyntaxError\s*$/\1negative:\n\1 phase: early\n\1 type: SyntaxError/g'
* Add tests for async functionsBrian Terlson2016-07-281-0/+12
Closes #479