Mike Pennisi
a6834093aa
Improve coverage by invoking functions as intended
...
Some tests which include function declarations designed to verify
behavior do not reference those functions. Insert the references
necessary for those functions to serve their intended purpose.
2021-10-05 16:22:56 -04:00
rwaldron
43c68163c0
Generate tests
2021-10-01 16:38:56 -04:00
Mike Pennisi
d9ddf80479
Revert "Merge pull request #3219 from tc39/rwaldron/migrate-comparearray"
...
This reverts commit b690cb67be
, reversing
changes made to 50dd431dff
. This is
necessary because the reverted changeset reduced coverage by an unknown
extent.
2021-10-01 10:18:47 -04:00
rwaldron
4847d9db5a
chore: update test/**/*.js to use assert.compareArray wherever applicable
2021-09-24 12:58:15 -04:00
Rick Waldron
64a4b76c62
chore: migrate $ERROR -> throw new Test262Error in test/language/e* ( #3098 )
2021-07-28 13:48:39 -07:00
jugglinmike
afe217b318
Add tests for "Class Static Init. Blocks" proposal ( #2968 )
...
* Add tests for "Class Static Init. Blocks" proposal
This proposal is currently at "stage 3" in TC39's standardization
process.
* fixup! Add tests for "Class Static Init. Blocks" proposal
* Correct identifier reference
* Update tests for grammar
* Update tests for identifiers
* Add tests for scope derivation
2021-07-15 08:49:12 -04:00
Mike Pennisi
3addcc4b04
Generate tests
2021-04-20 09:53:57 -04:00
Alexey Shvayka
c8daa32e48
Improve object rest/spread with Proxy coverage ( #2930 )
...
* Test object spread with Proxy
* Test object spread with non-enumerable keys and Proxy
* Test object rest with excluded keys and Proxy
* Test object rest with non-enumerable keys and Proxy
2021-02-26 16:59:51 -05:00
jmdyck
11624af8d0
Update "info" field ( #2941 )
...
The quoted spec wording changed in ecma262#1694.
2021-01-28 16:03:01 -08:00
Rick Waldron
b89c3bf369
Generate tests
2020-10-14 14:01:01 -04:00
Gus Caplan
6aa8338d23
add feature tags
2020-10-08 18:05:00 -04:00
Gus Caplan
881c9e3ba5
move __proto__ tests
2020-10-08 18:05:00 -04:00
Rick Waldron
a6d38ffe9a
Correction: add explicit language re: application of Forbidden Extensions, bullet 1
2020-10-07 16:43:31 -04:00
Rick Waldron
6db0565b76
Generate tests
2020-10-05 10:53:43 -04:00
Rick Waldron
9e71e2120a
Generate tests
2020-10-05 10:53:43 -04:00
Rick Waldron
348a706c5d
Generate tests
2020-09-25 16:12:12 -04:00
Rick Waldron
21e97fb616
Generate tests
2020-09-25 14:42:12 -04:00
Rick Waldron
3f2a2aa464
Generate tests
2020-09-25 14:42:12 -04:00
Rick Waldron
cd778bea8c
Generate tests
2020-09-25 13:30:10 -04:00
Rick Waldron
76dacfb17c
Generate tests
2020-09-25 12:58:22 -04:00
Rick Waldron
5090f7adfe
Generate tests
2020-09-25 12:01:39 -04:00
Rick Waldron
fd92897147
Generate tests
2020-09-22 10:37:38 -04:00
Rick Waldron
1ab47810d1
Generate tests
2020-09-17 16:24:07 -04:00
Rick Waldron
be7e9ff98b
Computed Property Names: YieldExpression that yields something.
2020-09-17 16:24:07 -04:00
Rick Waldron
67382a1e8e
Add await test: await is valid in non-module strict mode code.
2020-09-17 16:22:22 -04:00
Rick Waldron
057a31e15e
Add coverage for reserved words in shorthand properties. Fixes gh-1179
2020-09-17 16:22:22 -04:00
Rick Waldron
9fc299915d
get and set in MethodDefinition must not be escaped. Fixes gh-2078
2020-09-15 16:34:36 -04:00
Rick Waldron
b25e36cdb6
Generate tests
2020-09-10 16:22:34 -04:00
Rick Waldron
6bfcf4237a
SuperCall includes parenthesis. Fixes gh-1183 ( #2754 )
2020-09-04 11:42:43 -07:00
Alexey Shvayka
c558dad25f
Add permitted duplicate test for shorthand properties
2020-09-02 15:31:42 -04:00
Alexey Shvayka
4d4c160674
Expand permitted duplicate test with async/generator methods
2020-09-02 15:31:42 -04:00
Alexey Shvayka
9411d7fccc
Array binding: add generated tests
2020-08-20 12:48:08 -04:00
Alexey Shvayka
6a18c27ca1
Generate test files from templates
2020-04-29 17:33:10 -04:00
Alexey Shvayka
39ed5d9d68
Add object rest destructuring test
2020-04-25 18:45:48 -04:00
Alexey Shvayka
b08380c723
Add object spread test
2020-04-25 18:45:48 -04:00
Toru Nagashima
eab9d3bd30
update tests to follow review
2020-02-20 12:16:43 -05:00
Toru Nagashima
7b1a828459
add tests from #2486
2020-02-20 12:16:43 -05:00
Toru Nagashima
d2dab3510f
Add test case for BigInt in LiteralPropertyName
2020-02-20 12:16:43 -05:00
Valerie Young
55b28c166f
Generate tests
2020-01-08 09:30:47 -08:00
Shu-yu Guo
68352eb8b5
Flag sloppy eval in parameter initializer tests as noStrict
2020-01-03 15:36:51 -08:00
Leo Balter
157b18d16b
Merge pull request #2447 from bocoup/eval-param-ref-error
...
Add test case for new ReferenceError after removal of per-parameter position var scope
2019-12-23 13:39:26 -05:00
Shu-yu Guo
27bda64012
Update tests for removal of per-parameter position var scope ( #2445 )
...
See https://github.com/tc39/ecma262/pull/1046
2019-12-23 13:36:09 -05:00
Valerie Young
6281e227f5
generated test files
2019-12-23 13:33:25 -05:00
Leo Balter
e2903e2648
Merge pull request #2366 from bocoup/unnecessary-includes
...
Remove unnecessary "includes" directives
2019-09-27 16:46:22 -04:00
Mike Pennisi
f5d60d4192
Improve coverage
...
The modified tests are equally valid in strict mode and outside of
strict mode. Remove the flag which limits their use to only one of these
two contexts. Rename tests using the legacy ES5-based naming scheme to
remove the pattern which designates strict mode.
2019-09-27 15:39:10 -04:00
Mike Pennisi
f26c2a11bd
Remove unnecessary "includes" directives
...
The values defined by the referenced files are not used by these tests.
This makes their inclusion superfluous, which needlessly increases the
time to execute the tests and may confuse some readers.
2019-09-25 13:59:24 -04:00
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
daa5994b38
Merge pull request #2294 from leobalter/2285/accessor-names
...
Add cases for `default` identifier names in accessor-names
2019-08-28 15:05:12 -03:00
Leo Balter
bcb6c33387
Regenerate tests
2019-08-14 19:14:44 -04:00
Leo Balter
209845c7b5
Generate tests
2019-08-14 18:54:04 -04:00