-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Add ICU4X 1.5 #239
base: main
Are you sure you want to change the base?
Add ICU4X 1.5 #239
Conversation
Can this be done in a way that reduces duplication especially in main.rs? |
with a lot of work sure. is it worth it? |
Thanks for working on this, Rob! Question to Shane & Elango: any reason not to approve this? A new main.rs may be necessary. |
// TODO!!! : supported_test_map to call the functions. | ||
let json_result = if test_type == "collation_short" { | ||
run_collation_test(&json_info) | ||
} else if (test_type == "decimal_fmt") || (test_type == "number_fmt") { | ||
run_numberformat_test(&json_info) | ||
} else if (test_type == "display_names") | ||
|| (test_type == "language_display_name") | ||
|| (test_type == "lang_names") | ||
{ | ||
run_language_name_test(&json_info) | ||
} else if test_type == "likely_subtags" { | ||
run_likelysubtags_test(&json_info) | ||
} else if test_type == "list_fmt" { | ||
run_list_fmt_test(&json_info) | ||
} else if test_type == "plural_rules" { | ||
run_plural_rules_test(&json_info) | ||
} else { | ||
Err(test_type.to_string()) | ||
}; |
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.
This kind of code is highly likely to go stale. It would be nice to keep it in sync across versions. I don't immediately see why it needs to be different between 1.4 and 1.5?
@@ -11,7 +11,7 @@ jobs: | |||
strategy: | |||
fail-fast: false | |||
matrix: | |||
icu4x-version: [ '1.3', '1.4' ] |
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.
Hey Rob, can we resolve these issues to add version 1.5? How can I help? |
Maybe @sffc can update this to his satisfaction. |
It's a bit unfortunate that this has bitrot since I left my review in June/July |
It's very unfortunate that this was not merged in June. |
No description provided.