1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 00:54:28 +00:00
This commit is contained in:
Shuanglei Tao 2017-06-15 17:38:54 +08:00 committed by Lunny Xiao
parent 792cde7081
commit 13f0e1255a

View File

@ -19,7 +19,7 @@ func testPullCreate(t *testing.T, session *TestSession, user, repo, branch strin
resp := session.MakeRequest(t, req)
assert.EqualValues(t, http.StatusOK, resp.HeaderCode)
// Click the little green button to craete a pull
// Click the little green button to create a pull
htmlDoc, err := NewHtmlParser(resp.Body)
assert.NoError(t, err)
link, exists := htmlDoc.doc.Find("button.ui.green.small.button").Parent().Attr("href")