diff --git a/node_test.go b/node_test.go index b8e1759..f994f27 100644 --- a/node_test.go +++ b/node_test.go @@ -107,7 +107,7 @@ func TestEveryFormatCompilesAtLink(t *testing.T) { t.Errorf("%s compiled before link", format) } } - if err := linkInline(n, "t", inlineScope(n, "t"), map[string]node{"w": w}); err != nil { + if err := linkNodeRefs(inlineScope(n, "t"), map[string]node{"w": w}); err != nil { t.Fatal(err) } for format, has := range compiledByPath() {