215 Commits

Author SHA1 Message Date
Leo Balter
0ad3d51fd9
Add an early error case for ({ async async }) 2017-05-01 12:29:23 -04:00
Leo Balter
d93e15662f
Generate Tests 2017-04-25 15:56:28 -04:00
Leo Balter
d74f58cddd
Generate tests 2017-04-21 15:26:46 -04:00
Leo Balter
20d496729d
Rename src/params to src/function-forms
The templates are being used for many tests reusing the same available function forms.
The format they are provided allow us to extend tests with cases for other tests relying
in the same formats.
2017-04-21 15:03:46 -04:00
Mike Pennisi
2c0c3e7f96 Correct typo in copyright information 2017-04-18 12:23:22 -04:00
André Bargull
d59e30c95e Remove execute bit from files (#976) 2017-04-13 16:24:07 -04:00
Caitlin Potter
53ab9ffd4e Generate tests 2017-04-10 18:29:53 -04:00
André Bargull
faaa4685e4 Remove invalid async-flag from syntax error tests (#959) 2017-04-10 14:34:57 -04:00
Rick Waldron
3c79e9dbac Merge pull request #953 from leobalter/syg-async-lineterm
Update cases for async arrow fns with a line terminator
2017-04-07 16:25:51 -04:00
Leo Balter
6030e4ed71
Update object literal expressions for readability
After @rwaldron's feedback:

The purpose of the `!` operator is to evaluate an UnaryExpression,
coerce the result to a boolean value and then return the negated
value of that operation. But that's not what you're trying to do at
all—you just want to evaluate the expression to the right of the
operator, nothing more, nothing less. In this specific case, you
don't even really care about the evaluation, the goal is write
valid (or invalid, as the case may be) syntax that is will be
parsed according to a specific grammar rule that requires some
operator to signal that the thing is an expression and not a Block
Statement.
2017-04-07 11:34:59 -04:00
Daniel Ehrenberg
20536eabe1
Generate tests 2017-04-06 19:44:14 -04:00
Leo Balter
590d04edd2
Add info 2017-04-06 17:50:59 -04:00
Leo Balter
4941d46a28
Update cases for async fns with a line terminator 2017-04-06 16:06:42 -04:00
Shu-yu Guo
5038754462
Test for [no LineTerminator here] after 'async' for arrows and methods 2017-04-06 16:06:42 -04:00
Leo Balter
883db87a51
Generate tests 2017-04-06 15:33:33 -04:00
André Bargull
3291704eb2
Fix multiple test errors
Tests doesn't use async functionality and don't call $DONE, so remove
"async" flag:
- src/params/error/async-gen-named-func-expr.template
- test/language/expressions/async-generator/params-named-dflt-abrupt.js
- test/language/expressions/async-generator/params-named-dflt-ref-later.js
- test/language/expressions/async-generator/params-named-dflt-ref-self.js

Intl.PluralRules.prototype is no longer a Intl.Prototype instance:
- test/intl402/PluralRules/prototype/prototype.js

Intl.PluralRules throws an error when called as a function:
- test/intl402/PluralRules/undefined-newtarget-throws.js

Module namespace objects call OrdinaryDelete for symbol properties:
- test/language/module-code/namespace/internals/delete-non-exported.js

Async generators no longer retrieves "done" property twice:
- src/async-generators/yield-star-async-next.case
- src/async-generators/yield-star-async-return.case
- src/async-generators/yield-star-async-throw.case

Minor units of CLF is 4, so we need to test with maximumFractionDigits=3
to get an error:
- test/intl402/NumberFormat/dft-currency-mnfd-range-check-mxfd.js

DateTimeFormat.prototype.formatToParts length property was changed from
0 to 1:
- test/intl402/DateTimeFormat/prototype/formatToParts/length.js

minimumSignificantDigits and maximumSignificantDigits properties are
only retrieved once:
- test/intl402/NumberFormat/11.1.1_32.js
2017-04-06 15:30:13 -04:00
Leo Balter
f48a41caed
Generate tests 2017-04-06 12:36:50 -04:00
Daniel Ehrenberg
6330eccfc4
Add feature flags for various tests 2017-04-06 12:18:03 -04:00
Rick Waldron
818bb8d88f Merge pull request #938 from leobalter/yield-star-abrupt-getiter
Add cases for abrupt completions in yield* in async generator - getIterator
2017-04-06 11:43:29 -04:00
Rick Waldron
d7f4f5f664 Merge pull request #937 from leobalter/yield-star
templates for yield star flow
2017-04-06 11:43:21 -04:00
Rick Waldron
7685eeac1f Merge pull request #941 from leobalter/yield-star-next-abrupt
Add cases for abrupt completions in yield* in async generator - next
2017-04-06 11:42:54 -04:00
Rick Waldron
01ce88b588 Merge pull request #922 from leobalter/async-gen-templates-dstr-errors
Add async generator error templates for destructuring binding
2017-04-06 11:42:04 -04:00
Rick Waldron
b0e921ff45 Merge pull request #921 from leobalter/async-gen-templates-dstr
Add async generator templates for destructing binding
2017-04-06 11:41:27 -04:00
Leo Balter
70870dc239
Generate tests 2017-03-27 21:44:04 -04:00
Leo Balter
8f0fd88ad9
Generate tests 2017-03-27 20:41:11 -04:00
Leo Balter
088ef77000
Generate tests 2017-03-27 17:19:19 -04:00
Leonardo Balter
1e74cfe336
Generate tests 2017-03-27 13:32:05 -04:00
Leo Balter
2adebecbfa
Generate tests 2017-03-27 13:21:14 -04:00
Leo Balter
3d7ae07295
Generate tests 2017-03-27 13:07:11 -04:00
Leonardo Balter
8525cdb165
Generate tests 2017-03-27 13:07:09 -04:00
Leonardo Balter
66f42efc99
Generate tests 2017-03-27 13:07:08 -04:00
Leonardo Balter
74b07de387
Generate tests 2017-03-27 13:07:06 -04:00
Leonardo Balter
42d993c45a
Normalize folder async generator expressions 2017-03-27 13:07:05 -04:00
Leonardo Balter
4459447eb7
Generate tests 2017-03-27 13:01:11 -04:00
Leonardo Balter
285888ada1
Generate tests 2017-03-27 12:54:18 -04:00
Leo Balter
db9dc643e9
Generate tests 2017-03-27 12:17:57 -04:00
Leonardo Balter
92ac53f210
Generate tests 2017-03-20 14:50:53 -04:00
Leo Balter
e45b2ae532 Add tests for computed __proto__ property keys (#916)
Fixes #904
2017-03-16 12:16:27 -04:00
Leo Balter
e4bbdba105 Merge pull request #914 from leobalter/850-top-level
Avoid top level name and length bindings
2017-03-14 20:48:48 -04:00
Leonardo Balter
368d483490
Generate tests 2017-03-14 17:42:04 -04:00
Leonardo Balter
aa2c69960d
Generate tests 2017-03-14 15:13:10 -04:00
Leonardo Balter
7522a29f31
Generate tests 2017-03-14 14:58:33 -04:00
Leonardo Balter
c37a242057
Move tests for params trailing comma to the test gen tool 2017-03-14 14:58:32 -04:00
Leonardo Balter
c017b4280b
Generate tests 2017-03-14 13:30:35 -04:00
Rick Waldron
b0e9db8856
Remove invalid tests on parameters vs arguments list
Ref #822
2017-03-14 13:20:10 -04:00
Leonardo Balter
340543bc11
Rename top level 'name' and 'length' bindings
Fix 850
2017-03-14 12:43:24 -04:00
Leo Balter
2c1aed0db6 Fix duplicate function declarations (#905)
Fixes #771
2017-03-13 18:43:41 -04:00
Leo Balter
6ef9cef4a0 Generate tests for 16e66ece0 (#901) 2017-03-13 11:01:26 -04:00
Leo Balter
471bde9162 Add descriptions for async-iter suspended execution tests (#894)
Fixes #889
2017-03-13 09:59:42 -04:00
Leonardo Balter
e54c471809
Generate tests 2017-03-09 10:30:09 -05:00