Draw a path's compiled steps through drawSteps in the tests

This commit is contained in:
2026-09-30 20:04:39 +02:00
committed by Lillem4n
parent d1722a8706
commit d5d1e86b1c
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1095,7 +1095,7 @@ func TestTableReadReportsTheTablesADrawPins(t *testing.T) {
selected, drawn := tr.pins, tr.drawn
for i := 0; i < 20; i++ {
var pins pinSet
drawPath(head, a.tail, a.head, &pathDraw{s: f.rand, pins: &pins})
drawSteps(f.rand, head, a.steps, &pins, nil, nil)
want := map[*table]bool{}
pins.each(func(tbl *table, _ int) {
if _, isSelected := selected.pinned(tbl); !isSelected {