Context
From code review on #471: the unit test test_box_drawing_continuation_not_interrupted was restructured to test two CrossLawReferences under an Article, but no longer explicitly covers the original bug scenario: a single CrossLawReference (or OpenTermResolution) with multiple children inside an Article.
The BDD snapshot test covers this scenario in practice (the Delegation case in expected_zorgtoeslag_trace.txt), so there's no coverage gap. But a dedicated unit test would serve as a clearer regression anchor.
Task
Add a unit test in packages/engine/src/trace.rs that creates a CrossLawReference with 2+ children inside an Article and verifies the continuation column is ║ between children.
Context
From code review on #471: the unit test
test_box_drawing_continuation_not_interruptedwas restructured to test two CrossLawReferences under an Article, but no longer explicitly covers the original bug scenario: a single CrossLawReference (or OpenTermResolution) with multiple children inside an Article.The BDD snapshot test covers this scenario in practice (the Delegation case in
expected_zorgtoeslag_trace.txt), so there's no coverage gap. But a dedicated unit test would serve as a clearer regression anchor.Task
Add a unit test in
packages/engine/src/trace.rsthat creates a CrossLawReference with 2+ children inside an Article and verifies the continuation column is║between children.