Pass drawPath the head its tail descends from

This commit is contained in:
2026-09-25 08:08:12 +02:00
committed by Lillem4n
parent 8f904ddd74
commit eecfb7ab54
+1 -1
View File
@@ -63,7 +63,7 @@ func TestDrawPathPanicsOnAnUnprovedPath(t *testing.T) {
t.Errorf("drawPath(plain, f) recovered %v, want a panic naming the path and the missing field", r) t.Errorf("drawPath(plain, f) recovered %v, want a panic naming the path and the missing field", r)
} }
}() }()
drawPath(compiled(t, `"plain"`), []string{"f"}, "plain.f", &pinSet{}, &pathDraws{s: engine(1).rand}) drawPath(compiled(t, `"plain"`), []string{"f"}, "plain", &pinSet{}, &pathDraws{s: engine(1).rand})
} }
func TestDeepDottedPath(t *testing.T) { func TestDeepDottedPath(t *testing.T) {