From 15b94b2718dff8719a284571d820b81567f87a46 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Mon, 5 Oct 2026 21:11:36 +0200 Subject: [PATCH] Answer architecture round 2: name eachNode's callback parameter label in node_test.go --- node_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node_test.go b/node_test.go index 225f496..9327497 100644 --- a/node_test.go +++ b/node_test.go @@ -92,9 +92,9 @@ func TestEveryFormatCompilesAtLink(t *testing.T) { } compiledByPath := func() map[string]bool { compiled := map[string]bool{} - if err := eachNode(n, "t", func(path string, m node) error { + if err := eachNode(n, "t", func(label string, m node) error { if tm, ok := m.(*template); ok { - compiled[path+" "+tm.format] = tm.compiled.ops != nil + compiled[label+" "+tm.format] = tm.compiled.ops != nil } return nil }); err != nil {