Commit Graph

1153 Commits

Author SHA1 Message Date
Alexey Shvayka 34b2ab340c Use non ID_Continue characters in negative tests 2020-04-23 10:48:16 -04:00
Alexey Shvayka 89bb1b79e8 Remove negative parse tests that are now valid 2020-04-23 10:48:16 -04:00
Alexey Shvayka 4a8e49b3ca
Add test for \0 in Unicode patterns (#2569) 2020-04-10 15:41:59 -07:00
Gus Caplan 13d057dffc
fix namespace set test (#2574) 2020-04-10 15:17:03 -07:00
Rick Waldron 62b8fce389 Deleting previously valid generated tests 2020-04-02 12:58:38 -04:00
Caio Lima 539c001941 Updating test with 'o?.#field' to be valid program 2020-04-02 12:58:38 -04:00
Alexey Shvayka df59ad6134 Add AsyncIteratorClose tests 2020-04-02 11:25:58 -04:00
Alexey Shvayka fccd9c4b81 Add IteratorClose tests 2020-04-02 11:25:58 -04:00
Rick Waldron ffaae1f7ec Logical Assignment Operators: additional syntax tests 2020-03-31 15:05:04 -04:00
Justin Ridgewell 2778324491 Fix tests 2020-03-31 10:56:40 -04:00
Justin Ridgewell 78dbc401b1 Add logical-assignment-operators feature 2020-03-31 10:56:40 -04:00
Justin Ridgewell fdf4675da9 Add tests for Logical Assignment 2020-03-31 10:56:40 -04:00
Caio Lima 6499fa6794 Adding missing cases of instance field without assignment and static field with assignment 2020-03-31 10:39:11 -04:00
Caio Lima 740e157eb0 Adding test to cover case where there is a static field named as 'static' 2020-03-31 10:39:11 -04:00
Alexey Shvayka d279980b96 Add single quote string literal test 2020-03-30 19:30:49 -04:00
Alexey Shvayka 4742461e26 Add double quote string literal test 2020-03-30 19:30:49 -04:00
Alexey Shvayka 1150fe4a5c Add template literal test 2020-03-30 19:30:49 -04:00
Caio Lima 432adbb61e Adding case where 'static' is used as a field name 2020-03-28 16:47:44 -04:00
Caio Lima db6f630e65
Adding test coverage for 'OptionalChain'.PrivateIdentifier case (#2534) 2020-03-23 15:47:51 -07:00
Alexey Shvayka 3bf630cdda Add for/in test 2020-03-23 14:50:33 -04:00
Ross Kirsling fe4e96d8b0 Remove duplicate test regexp/u-dec-esc.js 2020-03-23 14:33:30 -04:00
Gus Caplan b0bb917dc6 add dfs tests for https://github.com/tc39/ecma262/pull/1669 2020-03-23 14:31:57 -04:00
Alexey Shvayka 7117cddeca Test astral literals within inverted CharacterClass 2020-03-23 14:29:43 -04:00
Leo Balter 2c432e35b2 Add coverage for EvaluateNew
Fix #2527
2020-03-18 09:42:26 -04:00
Mathias Bynens b29b1dac05
Add tests for new identifier characters per Unicode version (#2532)
Ref. https://github.com/tc39/ecma262/issues/1897
Ref. https://github.com/tc39/ecma262/issues?q=label%3Aunicode
2020-03-16 12:06:09 -07:00
Gus Caplan b3c94b3268 Update call-proto-not-ctor.js 2020-02-20 12:37:03 -05:00
Gus Caplan 922e27fd8c fix super evaluation order tests 2020-02-20 12:37:03 -05: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
Tooru Fujisawa e756399793 Add test for NumericLiteralSeparator after decimal point followed by DecimalDigit 2020-02-05 15:06:46 -05:00
Tomas Echeverri Valencia 6d4d69f19f Add missing `?` in unit test (#2477)
The question mark is required as it is part of the "optional chaining operator" `?.` that's being tested here
2020-01-24 14:22:34 -05:00
Leo Balter 20ca8e3568
Merge pull request #2465 from bocoup/eval-param-only-sloppy
Test cases for new ReferenceError: remove class tests and add no-strict
2020-01-08 12:58:40 -05:00
Valerie Young 55b28c166f Generate tests 2020-01-08 09:30:47 -08:00
Jordan Harband 5cb381cbe0
super evaluation order tests
For https://github.com/tc39/ecma262/pull/1775
2020-01-06 11:15:26 -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
Gus Caplan 502cc20010 fix delete test, add error tests, fix lint (#2453) 2019-12-21 16:57:41 -05:00
Benjamin E. Coe 0ea69c7864 feat: regression tests for optional call (#2429)
* feat: regression tests for optional call

* chore: address code review

* chore: fix assertion

* chore: set context rather than return context
2019-12-18 11:35:28 -05:00
Kevin Gibbons cadd47aa5f Add test for for-in order (#2432)
* Add EnumerateObjectProperties tests for builtins which use it

* Add tests for EnumerateObjectProperties for for-in

* Add feature flag for for-in-order
2019-12-18 11:25:20 -05:00
Ross Kirsling 09380a4ae4 Add test verifying that optional call preserves `this`. (#2436)
* Add test verifying that optional call preserves `this`.

* Update test/language/expressions/optional-chaining/optional-call-preserves-this.js

Co-Authored-By: Leo Balter <leonardo.balter@gmail.com>
2019-12-03 16:28:15 -05:00
Gus Caplan 22978d381c add test for typeof proxy (#2438) 2019-12-02 10:42:08 -05:00
bcoe 5babea2780
chore: added a few more examples based on code review 2019-11-18 20:44:34 -08:00
bcoe 3d0c2037c3
feat(optional-chaining): add tests for IterationStatement 2019-11-17 21:11:24 -08:00
Gus Caplan 34333993d7 tag subclass tests with WeakSet and WeakMap (#2421) 2019-11-11 20:58:38 -05:00
Leo Balter 206c0cbb55
Merge branch 'master' into fix-newlines 2019-11-11 14:40:28 -05:00
Gus Caplan 9bb90d1a34 Fix failure phase in coalesce tests (#2415) 2019-11-11 14:38:26 -05:00
Gus Caplan a53f43e1ce
add missing newlines in tests 2019-11-10 20:18:56 -08:00