Requires macOS 14 Sonoma or later
diff --git a/tests/Feature/Landing/LandingStructureTest.php b/tests/Feature/Landing/LandingStructureTest.php index 4ad9afa..904ee9d 100644 --- a/tests/Feature/Landing/LandingStructureTest.php +++ b/tests/Feature/Landing/LandingStructureTest.php @@ -154,3 +154,69 @@ function landingHtml(): string expect($html)->toContain('>Included<'); expect($html)->toContain('>Not included<'); }); + +it('never draws two rules at the same height', function (): void { + $html = landingHtml(); + + /* + * Two rules with nothing between them but a section boundary render as one + * hairline and consume two ordinals, so the gutter prints both numbers on + * top of each other. That shipped, visibly, as an unreadable "08/09" — + * a boundary is one rule, and it belongs to whatever closes. + * + * Only `