diff options
Diffstat (limited to 'html/elements_test.go')
-rw-r--r-- | html/elements_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/html/elements_test.go b/html/elements_test.go index d7bd8bf..83742c4 100644 --- a/html/elements_test.go +++ b/html/elements_test.go @@ -28,7 +28,7 @@ func TestDoctype(t *testing.T) { } func TestSimpleElements(t *testing.T) { - cases := map[string]func(...g.Node) g.NodeFunc{ + cases := map[string]func(...g.Node) g.Node{ "a": A, "address": Address, "article": Article, @@ -99,7 +99,7 @@ func TestSimpleElements(t *testing.T) { } func TestSimpleVoidKindElements(t *testing.T) { - cases := map[string]func(...g.Node) g.NodeFunc{ + cases := map[string]func(...g.Node) g.Node{ "area": Area, "base": Base, "br": Br, @@ -124,7 +124,7 @@ func TestSimpleVoidKindElements(t *testing.T) { } func TestTextElements(t *testing.T) { - cases := map[string]func(string, ...g.Node) g.NodeFunc{ + cases := map[string]func(string, ...g.Node) g.Node{ "abbr": Abbr, "b": B, "caption": Caption, |