Commit 5fc4b6b
test: expand suffixes_prefixes_titles coverage and add assertNotIn helper
Add missing test cases flagged during PR review:
- prime-then-mutate test that would catch a regression to cached staleness
- add tests for suffix_acronyms and suffix_not_acronyms (previously untested)
- remove test for prefixes (mirroring the existing titles remove test)
- assertFalse(x in ...) -> assertNotIn for the two remove tests
Also adds assertNotIn to HumanNameTestBase to support the new assertions.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent f69ecee commit 5fc4b6b
2 files changed
Lines changed: 31 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
127 | 154 | | |
128 | 155 | | |
129 | 156 | | |
| |||
0 commit comments