Commit 5645fbf
Review follow-ups: pin cross-constants semantics, fix inert test token
The custom-constants test used 'chancellor', which is already a default
title, so it passed without the self.C parse path ever mattering; use a
token that is provably not a default title, with a guard assertion.
Pin the operand asymmetry as deliberate: a str operand is reparsed with
self.C, a HumanName operand is compared as already parsed. Document the
all-empty comparison key for empty/unparsable input in both docstrings
(screen with len(name) == 0), with a test, and add a non-ASCII
case-insensitivity check.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 92cf216 commit 5645fbf
2 files changed
Lines changed: 39 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
314 | 318 | | |
315 | 319 | | |
316 | 320 | | |
| |||
327 | 331 | | |
328 | 332 | | |
329 | 333 | | |
330 | | - | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
331 | 338 | | |
332 | 339 | | |
333 | 340 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
357 | 357 | | |
358 | 358 | | |
359 | 359 | | |
| 360 | + | |
| 361 | + | |
360 | 362 | | |
361 | | - | |
362 | | - | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
363 | 366 | | |
364 | | - | |
365 | | - | |
366 | | - | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
367 | 393 | | |
368 | 394 | | |
369 | 395 | | |
| |||
0 commit comments