Commit Graph

4844 Commits

Author SHA1 Message Date
Alexey Shvayka 73c04fc61d Add logical OR operator test 2020-08-12 14:09:22 -04:00
Alexey Shvayka 69d74c18c2 Add logical NOT operator test 2020-08-12 14:09:22 -04:00
Alexey Shvayka 61188b8abc Add logical assignment tests 2020-08-12 14:09:22 -04:00
Alexey Shvayka ec6f77c4d1 Add logical AND operator test 2020-08-12 14:09:22 -04:00
Alexey Shvayka 8c2c50df3b Add conditional operator test 2020-08-12 14:09:22 -04:00
Alexey Shvayka 4312dfa6a6 Add coalesce expression test 2020-08-12 14:09:22 -04:00
Alexey Shvayka 2f6d3a90b5 Add `switch` statement test 2020-08-12 14:06:34 -04:00
Alexey Shvayka 3732589424 Add abstract equality tests 2020-08-12 14:06:34 -04:00
Alexey Shvayka f2036e21bf Add strict equality tests 2020-08-12 14:06:34 -04:00
Alexey Shvayka f95e9d3f85 Add Object.is test 2020-08-12 14:06:34 -04:00
Leo Balter 95747ef79c
Merge pull request from shvaikalesh/class-element-prototype-method
Assert that instance methods can be named "prototype"
2020-08-12 10:30:43 -07:00
Alexey Shvayka 9ddfa39eca Add generated files 2020-08-12 18:58:26 +03:00
Alexey Shvayka 9027a803fe Add test cases 2020-08-12 18:58:26 +03:00
akluball e73054f75e
Add tests for ZWJ and ZWNJ in identifiers () 2020-08-05 12:27:34 -07:00
Gus Caplan 5f99d05c6a native function validator for your consideration 2020-08-04 19:44:31 -04:00
Gus Caplan 156186aee2 New NativeFunction tests 2020-08-04 19:44:31 -04:00
Ross Kirsling ede5b2400f Test TV for tagged templates too. 2020-08-03 21:33:44 -04:00
Ross Kirsling f24b9004b3 Add tests for \9 in template/strict strings. 2020-08-03 21:33:44 -04:00
Rohit Ashiwal a6c819ad0f
fix link to branch `preserved-website-directory` ()
Currently, we direct the readers to `compare` page. Which is odd, since readers
hope to land on the branch's page. Let's fix this by changing the link to point
to the branch's page.
2020-07-30 15:41:24 -07:00
Leo Balter e0ef80b967
Merge pull request from shvaikalesh/intl402-intl-object-tostringtag
Add Intl[@@toStringTag] coverage
2020-07-30 15:19:38 -07:00
Yusuke Suzuki f6a9847c73
related-year-zh.js may not contain years ()
macOS system ICU is shipping new CLDR, but it has many overrides on the top of it to make the formatted output suitable for the system.
And in related-year-zh.js tests, we intentionally override the CLDR data with the different format.
This change modifies the test to accept that alternative output.
2020-07-29 14:58:32 -07:00
Frank Yung-Fong Tang 0f5a274aad
Fix Segmenter tests: Check "input" in segment-*-iterable.js ()
* Check "input" in segment-*-iterable.js

Remove dup test in segment-*.js

* Fix segment-tostring.js
2020-07-29 12:00:35 -07:00
Yusuke Suzuki 80b54781b0
Intl.Segmenter iterator result should have isWordLike only if type is "word" ()
Update according to https://github.com/tc39/proposal-intl-segmenter/pull/128.
2020-07-28 10:53:16 -07:00
Alexey Shvayka c46be192bb Remove duplicated Intl.toString() test 2020-07-23 10:13:18 +03:00
Alexey Shvayka f9622ce80b Remove duplicated Intl.[[Prototype]] test 2020-07-23 10:13:13 +03:00
Alexey Shvayka aa4fd3fffa Add Intl[@@toStringTag] coverage 2020-07-23 10:13:12 +03:00
Alexey Shvayka c619375b46
Test [[IsHTMLDDA]] object with `typeof` operator () 2020-07-21 14:14:56 -07:00
Leo Balter 5a01caed71 Add feature tag for cleanupSome
The WeakRefs proposal advanced to Stage 4 but cleanupSome moved back to a Stage 2 status.
The tests should remain in Test262 for now but this feature flag should help users to
filter tests out.
2020-07-21 16:57:50 -04:00
Yusuke Suzuki 538fcd88d8
Intl.DisplayNames.length should be 2 ()
`locales` and `options` are not optional parameters. So the length should be 2.
2020-07-20 16:29:05 -07:00
Ross Kirsling fb05c9a4df
Add tests for \8 in template/strict strings. () 2020-07-20 13:25:59 -07:00
Jordan Harband 4203041cef
Add tests for `Reflect[Symbol.toStringTag]` ()
Ref https://github.com/tc39/ecma262/pull/2057

Co-authored-by: Leo Balter <leonardo.balter@gmail.com>
2020-07-20 13:23:56 -07:00
Leo Balter d3bfa94c16 Fix bad renaming, main should upstream to master 2020-07-15 16:52:23 -04:00
Leo Balter 7e4657243b Refactor tests for static methods creation and fetching
Ref 
2020-07-15 16:13:40 -04:00
Leo Balter acc55231dd Update .github/workflows/update-master-after-main.yml 2020-07-15 15:47:15 -04:00
Leo Balter 60658a3b67 Update .github/workflows/update-master-after-main.yml
Co-authored-by: Jordan Harband <ljharb@gmail.com>
2020-07-15 15:47:15 -04:00
Leo Balter 0277ed4260 fixup! Rename usage of master to main 2020-07-15 15:47:15 -04:00
Leo Balter 2e127ec40e Rename usage of master to main
Ref 
2020-07-15 15:47:15 -04:00
Alexey Shvayka e193b449d4
Test [[IsHTMLDDA]] object as "prototype" of superclass () 2020-07-15 10:50:02 -07:00
Rick Waldron 28ec03f454
Remove unnecessary files containing whitelist and blacklist () 2020-07-14 15:01:49 -07:00
Leo Balter 8575a6eb1d
Merge pull request from FrankYFTang/fixDisplayNames
Intl.DisplayNames make type required
2020-07-13 16:18:55 -07:00
Frank Tang 5010996d5d Test invalid type 2020-07-13 15:50:07 -07:00
Leo Balter b9e4010b20
Fix language in test file () 2020-07-13 15:01:38 -07:00
Leo Balter 80c0c0801d Only update master branch after main 2020-07-13 14:12:56 -07:00
Leo Balter 31e88a860a Add GitHub Workflow to mirror master and main branches 2020-07-13 14:09:05 -07:00
Frank Tang 3c89cde3e0 Intl.DisplayNames make type required
Update the tests to the latest version after we make
the type option now required

Spec:
https://tc39.es/proposal-intl-displaynames/

Changes of spec:
https://github.com/tc39/proposal-intl-displaynames/pull/76
https://github.com/tc39/proposal-intl-displaynames/pull/83
2020-07-10 19:19:34 -07:00
Frank Yung-Fong Tang 59f5b49359 remove 0 from the range and use undefined 2020-07-09 21:52:54 -04:00
Frank Yung-Fong Tang 1161eee3e4 use undefined instead of 0 2020-07-09 21:52:54 -04:00
Frank Yung-Fong Tang 36e4278f20 use undefined instead of 0 so range is only 1-3 2020-07-09 21:52:54 -04:00
Frank Yung-Fong Tang 21824359d0 restrict the range from 1 to 3 2020-07-09 21:52:54 -04:00
Frank Yung-Fong Tang e620226cd7 limit the range to 1 to 3 only 2020-07-09 21:52:54 -04:00