Repository navigation
Conversation
unitsOrdinal 9 and 10 had a Latin e, so 9.ToOrdinalWords() gave "девeто". Fix the test row that pinned it and add rows for 9, 29 and the gendered forms of 9 and 10. Fixes Humanizr#2010
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Merge Protections🔴 1 of 2 protections blocking · waiting on 🤖 CI
🔴 Ready to land on mainWaiting for
This rule is failing.CI green, authored or approved by a maintainer, review threads resolved, not held.
Show 1 satisfied protection🟢 🚦 Auto-mergeWhen all merge protections are satisfied and these conditions match, this pull request will be merged automatically.
|
|
The two Azure "Runtime platform validation" jobs fail at restore, before any test runs: |
fixes #2010
Summary
unitsOrdinal9 and 10 insrc/Humanizer/Locales/bg.ymlhad a Latine(U+0065) in place of Cyrillicе(U+0435), so every Bulgarian ordinal that ends in 9 or 10 came out with a Latin letter (9.ToOrdinalWords(bg)→девeто). This changes the two words toдеветandдесет.Tests
LocaleNumberTheoryData.OrdinalCases: fixed the{ "bg", 10, "десeто" }row, which had the same Latine, and added rows for 9 and 29.LocaleNumberTheoryData.OrdinalGenderCases: added masculine, feminine and neuter rows for 9 and 10 (the list skipped them).Expected: "девето",Actual: "девeто"); after, they pass.dotnet test tests/Humanizer.Tests/Humanizer.Tests.csproj --framework net11.0: 61588 passed, 1 skipped, 0 failed (macOS arm64; I only have the .NET 11 RC runtime, so net8.0/net10.0 were built but not run locally).dotnet format whitespace --verify-no-changeson the changed file is clean.Checklist
main(4574b93883bf48e3f0f3bca73297054537317ab2)fixes #2010AGENTS.md(see Tests)Terminal evidence (merge owner)
Left for the merge owner. Evidence pair at opening:
baseSha=4574b93883bf48e3f0f3bca73297054537317ab2/headSha=b3640f20a2c24c7dd1e3bae9d7faf90a4ce4b09c.Summary by CodeRabbit