-
Notifications
You must be signed in to change notification settings - Fork 417
CLDR-17570 Exclude rational formats from some checks #4530
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
CLDR-17570 Exclude rational formats from some checks #4530
Conversation
| providers.add( | ||
| FixedCandidateProvider.forXPath( | ||
| "//ldml/numbers/rationalFormats/rationalUsage", | ||
| List.of("never", "sometimes"))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
perfect!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, maybe it was perfect but not good!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- you don't need to be in the survey tool. you could augment the unit test
TestFixedCandidate.testDefaultCandidates()with a specific case. That's why this is split out from the ST code.
Maybe something like this?
| providers.add( | |
| FixedCandidateProvider.forXPath( | |
| "//ldml/numbers/rationalFormats/rationalUsage", | |
| List.of("never", "sometimes"))); | |
| providers.add( | |
| FixedCandidateProvider.forXPathPattern( | |
| "//ldml/numbers/rationalFormats(?:\[@numberingSystem=[^]]*\])?/rationalUsage", | |
| List.of("never", "sometimes"))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dooh. Thanks.
@pedberg-icu I'm looking forward to getting rid of the numbers system less paths. Too easy to stumble with those.
|
Just fixed test failure |
|
Can someone rubberstamp this, so I can merge? Steven approved, and there was just a small fix for a test failure afterwards. |
|
How can I fix it? I can't debug the survey tool. |
If you can ever get Docker and or Mysql installed locally, you too could debug the survey tool! |
CLDR-17570
ALLOW_MANY_COMMITS=true