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.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/integrations/html_helper.go b/integrations/html_helper.go
index 139261d694..823ed44851 100644
--- a/integrations/html_helper.go
+++ b/integrations/html_helper.go
@@ -19,6 +19,7 @@ type HTMLDoc struct {
// NewHTMLParser parse html file
func NewHTMLParser(t testing.TB, body *bytes.Buffer) *HTMLDoc {
+ t.Helper()
doc, err := goquery.NewDocumentFromReader(body)
assert.NoError(t, err)
return &HTMLDoc{doc: doc}