summaryrefslogtreecommitdiffstats
path: root/integrations/html_helper.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrations/html_helper.go')
-rw-r--r--integrations/html_helper.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/html_helper.go b/integrations/html_helper.go
index 3bddd2930d..6339b2da94 100644
--- a/integrations/html_helper.go
+++ b/integrations/html_helper.go
@@ -16,7 +16,7 @@ type HtmlDoc struct {
doc *goquery.Document
}
-func NewHtmlParser(t *testing.T, content []byte) *HtmlDoc {
+func NewHtmlParser(t testing.TB, content []byte) *HtmlDoc {
doc, err := goquery.NewDocumentFromReader(bytes.NewReader(content))
assert.NoError(t, err)
return &HtmlDoc{doc: doc}