Commit be1ccd8
committed
Harden MDS068 link-image-style tests
Two assertions were weak enough to mask a regression:
- TestApplySettings_LinkImageStyle_Parses now asserts lis.Active, so a
regression that left the axis inactive (silently skipping every check)
is caught instead of passing on the six toggle fields alone.
- TestCheck_LinkImageStyle_ForbidInline now matches "inline style
forbidden" rather than the substring "inline", which also matches
"inline-image style forbidden" — so an isImage routing inversion for
links would no longer slip through.
https://claude.ai/code/session_015t5KNNUG7YjqTVr9ERXVyZ1 parent a7e8d73 commit be1ccd8
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
455 | 455 | | |
456 | 456 | | |
457 | 457 | | |
| 458 | + | |
458 | 459 | | |
459 | 460 | | |
460 | 461 | | |
| |||
531 | 532 | | |
532 | 533 | | |
533 | 534 | | |
534 | | - | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
535 | 538 | | |
536 | 539 | | |
537 | 540 | | |
| |||
0 commit comments