Skip to content

Commit fb747b1

Browse files
committed
use assert empty
1 parent 0ce8265 commit fb747b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/actions_trigger_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1112,7 +1112,7 @@ func TestWorkflowApi(t *testing.T) {
11121112
resp := MakeRequest(t, req, http.StatusOK)
11131113
workflows := &api.ActionWorkflowResponse{}
11141114
json.NewDecoder(resp.Body).Decode(workflows)
1115-
assert.Len(t, workflows.Workflows, 0)
1115+
assert.Empty(t, workflows.Workflows)
11161116

11171117
// add workflow file to the repo
11181118
addWorkflowToBaseResp, err := files_service.ChangeRepoFiles(git.DefaultContext, repo, user2, &files_service.ChangeRepoFilesOptions{

0 commit comments

Comments
 (0)