Skip to content

Commit ff78bb5

Browse files
committed
add nolint
1 parent 9f1671c commit ff78bb5

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

coderd/organizations_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ import (
1212
"github.com/coder/coder/v2/testutil"
1313
)
1414

15-
16-
1715
func TestOrganizationsByUser(t *testing.T) {
1816
t.Parallel()
1917
client := coderdtest.New(t, nil)

enterprise/coderd/organizations_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ func TestMultiOrgFetch(t *testing.T) {
3838
require.NoError(t, err)
3939
}
4040

41+
//nolint:gocritic // using the owner intentionally since only they can make orgs
4142
myOrgs, err := client.OrganizationsByUser(ctx, codersdk.Me)
4243
require.NoError(t, err)
4344
require.NotNil(t, myOrgs)

0 commit comments

Comments
 (0)