Skip to content

Add tests for Intl Enumeration API#3186

Merged
rwaldron merged 2 commits intotc39:mainfrom
anba:intl-enum
Sep 8, 2021
Merged

Add tests for Intl Enumeration API#3186
rwaldron merged 2 commits intotc39:mainfrom
anba:intl-enum

Conversation

@anba
Copy link
Copy Markdown
Contributor

@anba anba commented Sep 7, 2021

Covers the usual surface tests and additional functionality tests which were
upstreamed from existing tests in SpiderMonkey.

Fixes #3131

Copy link
Copy Markdown
Contributor

@rwaldron rwaldron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@anba three lint issues:

/home/circleci/test262/test/intl402/Intl/supportedValuesOf/builtin.js: FRONTMATTER - Unrecognized fields: include
/home/circleci/test262/test/intl402/Intl/supportedValuesOf/numberingSystems-with-simple-digit-mappings.js: INCLUDES - Unused include: "testIntl.js"
/home/circleci/test262/test/intl402/NumberFormat/prototype/format/numbering-systems.js: INCLUDES - Unused include: "testIntl.js"

Copy link
Copy Markdown
Member

@leobalter leobalter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding the suggestions here that might help speeding up the process to land this PR.

anba added 2 commits September 8, 2021 02:31
…Systems, and simple sanctioned units

And then use these helpers to replace hard-coded lists in other tests.
Covers the usual surface tests and additional functionality tests which were
upstreamed from existing tests in SpiderMonkey.

Fixes tc39#3131
@anba
Copy link
Copy Markdown
Contributor Author

anba commented Sep 8, 2021

Updates:

  • 9e88c32
    Add numberingSystemDigits to the list of exported objects. This resolves the unused include warnings for "testIntl.js".

  • 069f2e8
    Fixed includeincludes typo. And then added "Reflect.construct" to the features list to avoid a new linter warning.

@rwaldron rwaldron merged commit 66a3c3a into tc39:main Sep 8, 2021
@anba anba deleted the intl-enum branch September 28, 2023 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Need test for Intl Enumeration API

3 participants