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

Allow strings in propertywise tests #911

Merged
merged 5 commits into from
Sep 6, 2024

Conversation

eggrobin
Copy link
Member

@eggrobin eggrobin commented Aug 15, 2024

Needed to test #885.
The strings are considered only as property values, their properties (whatever that means) are not looked at.

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.

Only minor comments

@@ -554,18 +562,40 @@ private static void propertywiseCorrespondenceLine(
+ ")",
pp.getIndex());
}
if (set.hasStrings() && set.strings().size() != set.size()) {
Copy link
Member

Choose a reason for hiding this comment

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

That would also change this to the easier to read:

            if (set.codePointsSize() > 0 && set.strings().size() > 0) {

macchiati
macchiati previously approved these changes Sep 5, 2024
@eggrobin eggrobin merged commit addf0c9 into unicode-org:main Sep 6, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants