Draw the test's rows through table.drawIn

This commit is contained in:
2026-09-24 13:14:15 +02:00
committed by Lillem4n
parent 9cbd8841fe
commit 14dda205f0
+1 -1
View File
@@ -990,7 +990,7 @@ func TestEnteredRowsAgreeWithPinning(t *testing.T) {
for _, cand := range tables {
for i := 0; i < 20; i++ {
drawing := s.clone()
if r := (&pathDraws{s: f.rand}).row(&drawing, cand); s.clash(cand, r) != nil {
if r := cand.drawIn(f.rand, &drawing); s.clash(cand, r) != nil {
t.Errorf("a render draws %s beside %s, which pinning it there refuses", cand.selectorSpelling(r), entered.selectorSpelling(row))
}
}