Commit Graph

2498 Commits

Author SHA1 Message Date
Ujjwal Sharma 9dc33cc5b4 intl: fix mistyped test for array-like objects 2018-10-15 12:54:05 -04:00
Adrian Heine 21f6a86a6d Remove explicit sta.js includes
INTERPRETING.md states that sta.js has to be included unconditionally.
2018-10-15 12:45:55 -04:00
Rick Waldron 3bcb28e918 Generate tests 2018-10-15 12:43:16 -04:00
Mike Pennisi 36f5d9527f Refactor compound assignment tests for parsers
The tests for the parsing of compound assignment expressions were
expressed using eval. This made the tests more complex than necessary
and also prevented the tests from providing value to ECMAScript parsers.

Remove the use of eval and instead express the expectations with
literal source text.
2018-10-15 11:55:29 -04:00
Mike Pennisi a3a5bedee4 Add `esid` metadata 2018-10-15 11:55:29 -04:00
Mike Pennisi 6870cc4a77 Rename files 2018-10-15 11:55:29 -04:00
Ms2ger e527498bff Intl.Segmenter: Some initial tests. (#1844) 2018-10-15 11:29:25 -04:00
Ms2ger f6dcb4fc2b Intl.ListFormat: Add some tests for the localeMatcher constructor option. (#1855)
This was added in https://github.com/tc39/proposal-intl-list-format/pull/25.

I don't know how to test that the option has any effect, so this just checks
that it is read and verified.
2018-10-15 11:04:34 -04:00
Leo Balter eb4401ee44
Merge pull request #1832 from leobalter/dyn-import-part2
More test cases for dynamic import
2018-10-09 12:04:41 -04:00
Ms2ger f61c4beaaa Intl.RelativeTimeFormat: Fix copy/paste error in frontmatter. (#1851) 2018-10-09 11:30:01 -04:00
Adrian Heine né Lang 2234f0fc40 Fix syntax in test (#1841)
This was introduced in 6581e84949.
2018-10-09 11:29:32 -04:00
Leo Balter 3450ed544e fix linting 2018-10-08 13:32:28 -04:00
Leo Balter 874f508077 Generate tests 2018-10-08 11:41:21 -04:00
Leo Balter 9e4fc1b1c2 Generate tests 2018-10-08 11:05:09 -04:00
Frank Tang 0866789361 numeric should be a boolean not a string 2018-10-05 18:43:50 -07:00
Leo Balter 3589fa9d82 Generate Tests 2018-10-05 17:17:41 -04:00
Leo Balter 8e28caa214 Add more coverage to dynamic import
- Add cases for invalid syntax
- Add valid cases
- nested imports
- add non existent file case
- Fix cases and templates to use a full importcall expr token
- add case for call expression position
- remove unnecessary module flag from templates
- Add templates for nested with
2018-10-05 17:17:32 -04:00
Ujjwal Sharma f8e3a8ed11 Add let before variable declaration 2018-10-05 15:32:54 -04:00
Ujjwal Sharma ec35b59e88 intl: increase coverage for the NumberFormat constructor
Increase the coverage for the constructor for Intl.NumberFormat by
ensuring that HasProperty(O, Pk) is properly called.
2018-10-05 15:32:54 -04:00
Leo Balter 00cfe1628c
Merge pull request #1831 from leobalter/1829-dyn-import-fixes
[dynamic import] Fix async test to verify completion
2018-10-05 12:41:12 -04:00
Timothy Gu 140d922d4c Add async-functions feature to more files (#1830) 2018-10-05 10:37:21 -04:00
Leo Balter 18f1225570 Generate tests 2018-10-05 10:33:48 -04:00
Leo Balter 754fe94c5d fixup! Generate tests 2018-10-04 16:21:11 -04:00
Rick Waldron a7ba033337 Generate tests 2018-10-04 16:21:11 -04:00
Leo Balter d92d35605b missing fixup 2018-10-04 16:16:35 -04:00
Leo Balter 292fd0c956 fix test in module/script modes 2018-10-04 16:16:35 -04:00
Leo Balter 7f69f1c6bf Generate tests 2018-10-04 16:16:35 -04:00
Leo Balter dac8fd4975 Recover Fixture files 2018-10-04 16:16:35 -04:00
Leo Balter b13b5b9843 Regenerate tests 2018-10-04 16:16:35 -04:00
Leo Balter 724e3d7ccb Regenerate tests 2018-10-04 16:16:35 -04:00
Leo Balter 7347b2a121 fix fixtures folders and nit picking on tests 2018-10-04 16:16:35 -04:00
Leo Balter 0a18f4068b remove duplicates, fix fixture folder 2018-10-04 16:16:35 -04:00
Leo Balter 1846d33c29 Regenerate tests 2018-10-04 16:16:35 -04:00
Leo Balter 54689ffa69 Update checklist and other fixups 2018-10-04 16:16:35 -04:00
Leo Balter e8305a7920 Regenerate tests 2018-10-04 16:16:35 -04:00
Leo Balter 24d1a78015 fix folders to fixtures 2018-10-04 16:16:35 -04:00
Leo Balter bc13b8a7c1 Regenerate tests 2018-10-04 16:16:35 -04:00
Leo Balter fdcb06e093 move catch tests to a separate folder 2018-10-04 16:16:35 -04:00
Leo Balter 6150f24d25 Regenerate tests 2018-10-04 16:16:35 -04:00
Rick Waldron 90e69a3b59 Dynamic Imports: eval export default class imports 2018-10-04 16:16:35 -04:00
Rick Waldron a3eef3f39f Generate tests 2018-10-04 16:16:35 -04:00
Rick Waldron c77078809c Dynamic Imports: initial cases, templates, non-generated tests and fixtures 2018-10-04 16:16:35 -04:00
Ujjwal Sharma f8e0bf6751 intl: fix dicey test case 2018-10-04 14:30:22 -04:00
Leo Balter 5896ba49be Generate tests 2018-10-04 10:32:01 -04:00
Ujjwal Sharma ff8b10c448 intl: increase coverage for the Intl.NumberFormat constructor
Increase coverge for the Intl.NumberFormat constructor by testing that
Get(O, P) and ToString(arg) are properly called.
2018-10-03 17:32:33 -04:00
Leo Balter 48cf391412
Revert "Fix "undefiend" typo in unreserved-words.js (#1816)" (#1819)
This reverts commit 7e65999731.
2018-10-03 17:11:05 -04:00
Andrew McCreight 7e65999731 Fix "undefiend" typo in unreserved-words.js (#1816)
I'm not an expert on this, but I'm pretty sure this is supposed to be "undefined" not "undefiend".
2018-10-03 15:14:41 -04:00
Frank Tang a1c3929c35 remove "invalid" from invalid date of "cu" and "nu" 2018-10-03 13:22:29 -04:00
Ujjwal Sharma 041d5acd5e Update test to actually check properties 2018-10-03 13:13:58 -04:00
Ujjwal Sharma de416c28c3 intl: increase coverage from the NumberFormat constructor
Improve coverage for the Intl.NumberFormat constructor by testing that
it accepts Array-like objects and handles them properly.
2018-10-03 13:13:58 -04:00