Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add tests for extended name character range #1020

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

Merged
merged 3 commits into from
Feb 19, 2025
Merged

Conversation

eemeli
Copy link
Collaborator

@eemeli eemeli commented Feb 18, 2025

This adds tests for the changes made in #1008.

@eemeli eemeli added fast-track Editorial change permitted to use fast-track merge rules test-suite Issue pertains to tests labels Feb 18, 2025
},
{
"description": "various characters as unquoted-literal",
"src": "{\u00a1\u061d\u1681\u200b\u2010\u2030\u2060\u206a\u3001\ue000\ufdf0}",
Copy link
Member

Choose a reason for hiding this comment

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

Interesting to include some plane 1 and 2 characters?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I just picked the first characters of each of the separate ranges beyond Latin-1 that are representable with JSON \u escapes.

Copy link
Member

Choose a reason for hiding this comment

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

You can use JSON \u escapes--by employing a surrogate pair. But it's not important.

Copy link
Member

Choose a reason for hiding this comment

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

You could have left your mark with the Finnish flag ;-)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Sure, but 🥔 tastes better.

Copy link
Member

@macchiati macchiati left a comment

Choose a reason for hiding this comment

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

One additional suggestion, but not necessary

Co-authored-by: Mark Davis <[email protected]>
@aphillips
Copy link
Member

Meets fast-track. Merging

@aphillips aphillips merged commit b053714 into main Feb 19, 2025
2 checks passed
@aphillips aphillips deleted the test-extended-name branch February 19, 2025 00:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fast-track Editorial change permitted to use fast-track merge rules test-suite Issue pertains to tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants