From eecfb7ab54a4cf6c529243c2d5c4e714256b6095 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Fri, 25 Sep 2026 08:08:12 +0200 Subject: [PATCH] Pass drawPath the head its tail descends from --- path_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/path_test.go b/path_test.go index 805551f..8f1065d 100644 --- a/path_test.go +++ b/path_test.go @@ -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) } }() - 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) {