From 60dd11deeec8254da45f9f5b7d24dedef27c4f53 Mon Sep 17 00:00:00 2001 From: Adam Scarr Date: Fri, 11 Aug 2017 00:08:08 +1000 Subject: Add go report card --- html/html_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'html/html_test.go') diff --git a/html/html_test.go b/html/html_test.go index f614b4d..7649fdd 100644 --- a/html/html_test.go +++ b/html/html_test.go @@ -7,10 +7,10 @@ import ( ) func TestParse(t *testing.T) { - result, err := Parse(`hello

world

`) + result, err := parse(`hello

world

`) require.NoError(t, err) - require.Equal(t, Tag{Name: "body", Attributes: map[string]string{}, Body: []interface{}{ + require.Equal(t, htmlTag{Name: "body", Attributes: map[string]string{}, Body: []interface{}{ "hello ", - Tag{Name: "p", Attributes: map[string]string{"color": "blue"}, Body: []interface{}{"world"}}, + htmlTag{Name: "p", Attributes: map[string]string{"color": "blue"}, Body: []interface{}{"world"}}, }}, result) } -- cgit v1.2.3