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_compare_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'integrations/pull_compare_test.go') diff --git a/integrations/pull_compare_test.go b/integrations/pull_compare_test.go index 5ff7b4b6cb..06826a08b9 100644 --- a/integrations/pull_compare_test.go +++ b/integrations/pull_compare_test.go @@ -18,7 +18,7 @@ func TestPullCompare(t *testing.T) { req := NewRequest(t, "GET", "/user2/repo1/pulls") resp := session.MakeRequest(t, req) assert.EqualValues(t, http.StatusOK, resp.HeaderCode) - htmlDoc := NewHtmlParser(t, resp.Body) + htmlDoc := NewHTMLParser(t, resp.Body) link, exists := htmlDoc.doc.Find(".navbar").Find(".ui.green.button").Attr("href") assert.True(t, exists, "The template has changed") -- cgit v1.2.3