From 90f9bb12c628a167d30f6f8b4bfb80438fb675a7 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sat, 17 Jun 2017 11:29:59 -0500 Subject: fix golint error and rename func for suggestion. (#1997) Signed-off-by: Bo-Yi Wu --- integrations/pull_create_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'integrations/pull_create_test.go') diff --git a/integrations/pull_create_test.go b/integrations/pull_create_test.go index f518c1bb55..91f682fbda 100644 --- a/integrations/pull_create_test.go +++ b/integrations/pull_create_test.go @@ -18,7 +18,7 @@ func testPullCreate(t *testing.T, session *TestSession, user, repo, branch strin assert.EqualValues(t, http.StatusOK, resp.HeaderCode) // Click the little green button to create a pull - htmlDoc := NewHtmlParser(t, resp.Body) + htmlDoc := NewHTMLParser(t, resp.Body) link, exists := htmlDoc.doc.Find("button.ui.green.small.button").Parent().Attr("href") assert.True(t, exists, "The template has changed") @@ -27,7 +27,7 @@ func testPullCreate(t *testing.T, session *TestSession, user, repo, branch strin assert.EqualValues(t, http.StatusOK, resp.HeaderCode) // Submit the form for creating the pull - htmlDoc = NewHtmlParser(t, resp.Body) + htmlDoc = NewHTMLParser(t, resp.Body) link, exists = htmlDoc.doc.Find("form.ui.form").Attr("action") assert.True(t, exists, "The template has changed") req = NewRequestWithValues(t, "POST", link, map[string]string{ -- cgit v1.2.3