Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove test that checks whether toUpperCase returns the same character #920

Merged
merged 1 commit into from
Jun 1, 2021

Conversation

p-bakker
Copy link
Collaborator

@p-bakker p-bakker commented Jun 1, 2021

as lowerCase character if Unicode defines that there's no uppercase
variant

The tests break on Windows, because windows uses the latest Unicode
standard, while Unix doesn't and in Unicode 11 some Georgian characters
that were previously only available in lowercase have now received an
uppercase variant

So, this test would either fail on Windows or if fixed (because
EcmaScript states to use the latest UniCode standard) would break on
Linux.

That said, the test basically tests whether the OS on which Rhino runs
is providing the proper Unicode data to Java and whether Java handles
this correctly. so it's not really testing anythign specific in the
Rhino implementation

as lowerCase character if Unicode defines that there's no uppercase
variant

The tests break on Windows, because windows uses the latest Unicode
standard, while Unix doesn't and in Unicode 11 some Georgian characters
that were previously only available in lowercase have now received an
uppercase variant

So, this test would either fail on Windows or if fixed (because
EcmaScript states to use the latest UniCode standard) would break on
Linux.

That said, the test basically tests whether the OS on which Rhino runs
is providing the proper Unicode data to Java and whether Java handles
this correctly. so it's not really testing anythign specific in the
Rhino implementation
@gbrail
Copy link
Collaborator

gbrail commented Jun 1, 2021

I think it's fine to delete this test, since as you point out it just tests that Java works.

@gbrail gbrail merged commit e48103f into mozilla:master Jun 1, 2021
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.

None yet

2 participants