Skip to content

Commit c4db87c

Browse files
authored
Merge pull request #31 from mongodb/fix-lint-custom-db-roles
fix: linting issue custom db roles
2 parents d7444f6 + bb224cd commit c4db87c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mongodbatlas/custom_db_roles_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ func TestCustomDBRoles_CreateCustomDBRole(t *testing.T) {
145145
t.Errorf("Request body\n got=%#v\nwant=%#v", v, expected)
146146
}
147147

148-
fmt.Fprintf(w, jsonBlob)
148+
fmt.Fprint(w, jsonBlob)
149149
})
150150

151151
customDBRole, _, err := client.CustomDBRoles.Create(ctx, "1", createRequest)
@@ -227,7 +227,7 @@ func TestCustomDBRoles_UpdateCustomDBRole(t *testing.T) {
227227
t.Errorf("Request body\n got=%#v\nwant=%#v", v, expected)
228228
}
229229

230-
fmt.Fprintf(w, jsonBlob)
230+
fmt.Fprint(w, jsonBlob)
231231
})
232232

233233
customDBRole, _, err := client.CustomDBRoles.Update(ctx, "1", "test-role-name", updateRequest)

0 commit comments

Comments
 (0)