Leo Balter
5d84854f27
Avoid usage of Object.keys when asserting order of returned values ( #2320 )
...
Fixes #2226
2019-09-04 11:38:18 -03:00
Leo Balter
c4dd26bcee
Generate tests
2019-08-05 10:56:24 -04:00
Leo Balter
ca9a3fde50
Generate tests
2019-08-05 10:56:24 -04:00
Leo Balter
8893f7a684
Generate tests
2019-08-05 10:55:32 -04:00
Leo Balter
ddfe24afe3
Regenerate tests
2019-08-05 10:54:37 -04:00
Aleksey Shvayka
465d0b587e
Add for-of tests with bogus initializers ( #2182 )
2019-05-29 15:37:52 -04:00
Ross Kirsling
d0f57bff72
Ensure test file YAML blocks don't have a trailing space. ( #2018 )
2019-01-07 11:40:39 -02:00
Leo Balter
d73548b027
Generate tests
2018-12-21 15:47:01 -05:00
Peter Marshall
b3efcd2f3f
Consistently use spaces in features lists ( #2000 )
2018-12-17 17:00:04 -02:00
Leo Balter
dec4e5df74
Merge pull request #1801 from mathiasbynens/issue-1634
...
Move `throw "…"` for negative parsing errors to a helper function
2018-11-13 17:23:09 -05:00
Rick Waldron
f1e362d558
Fix typos; generate tests ( #1907 )
2018-10-26 17:11:05 -04:00
Mathias Bynens
b9daa57dcb
Rename to $DONOTEVALUATE per @leobalter's suggestion
2018-10-23 13:51:17 +02:00
Mathias Bynens
e3feffb01e
Move `throw "…"` for negative parsing errors to a helper function
...
Closes #1634 .
2018-10-23 13:51:16 +02:00
Leo Balter
46fcbf81d1
Generate tests
2018-09-26 09:18:46 -04:00
Rick Waldron
b7afd3d00d
Frontmatter: updates to ForIn/OfBodyEvaluation tests
2018-01-11 10:47:10 -05:00
Mike Pennisi
136110378b
Rename negative test "phase" for parsing
...
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.
2018-01-05 15:17:50 -05:00
Rick Waldron
92a2621901
Frontmatter: fixup "info: >" to "info: |"
2018-01-05 12:27:59 -05:00
Rick Waldron
a801bdf786
Fix frontmatter
2017-12-19 15:42:57 -05:00
André Bargull
204afb7ba6
Add tests when continue triggers IteratorClose
2017-12-19 15:42:57 -05:00
Leo Balter
f8f5a7a1e7
Add missing generators flags
2017-10-26 19:04:57 -04:00
Leo Balter
b3092c61b6
Add generators flags for tests depending on generators features ( #1259 )
...
* Add missing generators feature flags
* Generate files
* Add generators flags
* fixup! Add generators flags
2017-10-04 16:12:34 -04:00
⭐caitp⭐
f3b5a1e4c0
Update iteration tests with respect to spec changes ( #1248 )
...
https://github.com/tc39/ecma262/pull/988 changes the iteration protocol
such that the "next" method is only loaded from the iterator object once
during the prologue of iteration, rather than during each step.
2017-09-27 17:59:41 -04:00
Caio Lima
d41eb5d913
Added test case to consider rest ordering ( #1242 )
2017-09-26 17:02:42 -04:00
André Bargull
58111fff7b
Regenerate tests
2017-09-16 17:00:55 +02:00
Leo Balter
2bee5df77a
Add missing Symbol.iterator feature flags
2017-09-08 10:13:50 -04:00
Leo Balter
9f526c0bcd
Re-generate tests
2017-09-08 10:13:50 -04:00
Leo Balter
7630235d5d
Re-generate tests
2017-09-08 10:13:36 -04:00
Leo Balter
9376782c6e
Regenerate tests
2017-09-07 15:51:13 -04:00
Leo Balter
1624816d81
Re-Generate tests
2017-08-18 18:16:55 -04:00
Rick Waldron
dffbe50668
Generate tests
2017-08-16 15:11:44 -04:00
Rick Waldron
38150b3535
Generate tests
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 15:49:02 -04:00
Mike Pennisi
ef76e548a4
Re-generate tests
2017-06-28 11:24:36 -04:00
Mike Pennisi
81d00def42
Force "early error" tests to fail if evaluated
...
This pattern makes expectations more explicit by making test files more
literal.
2017-06-28 11:24:36 -04:00
Rick Waldron
2dd8e8b2c4
Throw away tests
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-23 13:21:39 -04:00
Caio Lima
8f5afc2915
Generated tests for computed property Object rest destructuring
2017-05-22 23:05:35 -03:00
Leo Balter
5204678e8f
Generate tests
2017-05-15 15:25:33 -04:00
Leo Balter
5f04d2b1f3
Generate tests
2017-05-10 14:08:35 -04:00
André Bargull
3d8fe2af4c
Add tests for contextual keywords with escape sequences
2017-05-02 12:09:29 -07:00
André Bargull
7a86baee7d
Add lookahead restriction tests for "let [" in expression statement contexts
2017-05-02 12:09:28 -07:00
André Bargull
75d153d280
Add tests to ensure async-functions/generators are not accepted in statement position
2017-05-02 12:09:27 -07:00
Leo Balter
d93e15662f
Generate Tests
2017-04-25 15:56:28 -04:00
Leo Balter
2adebecbfa
Generate tests
2017-03-27 13:21:14 -04:00
Leonardo Balter
92ac53f210
Generate tests
2017-03-20 14:50:53 -04:00
Leonardo Balter
368d483490
Generate tests
2017-03-14 17:42:04 -04:00
Leonardo Balter
0cc55bb44d
Generate tests
2017-03-06 16:25:14 -05:00
André Bargull
6b09ad0459
Update YAML frontmatter of some tests to be compatible with monkeyYaml ( #862 )
2017-03-01 16:35:37 -05:00
Mike Pennisi
7d4b1d28ae
Re-format tests for SyntaxErrors
...
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'
2016-10-19 15:24:21 -04:00
Mike Pennisi
cdc62ce0fa
Re-generate tests
2016-10-19 15:24:20 -04:00
Tom Care
163fae3e68
Merge pull request #715 from bocoup/audit2016-section-13
...
Improve coverage for section 13, "Statements and Declarations"
2016-07-12 13:51:15 -07:00
jugglinmike
2bfaa0d895
Improve coverage for class "name" inference ( #718 )
...
* Extend tests for class "name" inference
Ensure that when a class defines a static "name" method, that method
definition prevents the "name" inference behavior.
* Re-generate tests
2016-07-08 18:37:04 -07:00