Draw the test's rows through table.drawIn
This commit is contained in:
+1
-1
@@ -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))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user