Skip to content

Commit a339587

Browse files
committed
linting
1 parent d40ec9c commit a339587

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

enterprise/coderd/workspaces_test.go

+2
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ func TestCreateUserWorkspace(t *testing.T) {
262262
},
263263
})
264264
ctx := testutil.Context(t, testutil.WaitShort)
265+
//nolint:gocritic // using owner to setup roles
265266
r, err := owner.CreateOrganizationRole(ctx, codersdk.Role{
266267
Name: "creator",
267268
OrganizationID: first.OrganizationID.String(),
@@ -313,6 +314,7 @@ func TestCreateUserWorkspace(t *testing.T) {
313314
ctx, cancel := context.WithTimeout(context.Background(), testutil.WaitLong*2000)
314315
defer cancel()
315316

317+
//nolint:gocritic // using owner to setup roles
316318
creatorRole, err := owner.CreateOrganizationRole(ctx, codersdk.Role{
317319
Name: "creator",
318320
OrganizationID: first.OrganizationID.String(),

0 commit comments

Comments
 (0)