Commit 7042dbc
test: add regression coverage for ordinal indicators (º, ª)
Issue #172 reported that slugify() doesn't transliterate the masculine/
feminine ordinal indicators (º, ª) common on Portuguese keyboards.
Verified against both supported transliteration backends
(text-unidecode>=1.3 and Unidecode>=1.1.1): both already map these
correctly (º->o, ª->a) via their Latin-1 Supplement tables, so the bug
no longer reproduces on the current codebase. Adding a regression test
to lock in the correct behavior and close out the issue.
Closes #172
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 7b6d5d9 commit 7042dbc
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
52 | 59 | | |
53 | 60 | | |
54 | 61 | | |
| |||
0 commit comments