From 8878cfa4a125348d92f8163988ac9d3279f27e75 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Fri, 10 Jan 2020 13:50:23 +0800 Subject: Fix lint (#9688) --- models/pull_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'models/pull_test.go') diff --git a/models/pull_test.go b/models/pull_test.go index 325818e0bf..153739f540 100644 --- a/models/pull_test.go +++ b/models/pull_test.go @@ -182,7 +182,7 @@ func TestPullRequest_UpdateCols(t *testing.T) { BaseBranch: "baseBranch", HeadBranch: "headBranch", } - pr.UpdateCols("head_branch") + assert.NoError(t, pr.UpdateCols("head_branch")) pr = AssertExistsAndLoadBean(t, &PullRequest{ID: 1}).(*PullRequest) assert.Equal(t, "master", pr.BaseBranch) -- cgit v1.2.3