@@ -86,7 +86,7 @@ func TestSecretScanningService_CreateCustomPatternsForRepo(t *testing.T) {
8686 t .Parallel ()
8787 client , mux , _ := setup (t )
8888
89- input := & SecretScanningCustomPatternsCreateRequest {
89+ input := SecretScanningCustomPatternsCreateRequest {
9090 Patterns : []* SecretScanningCustomPatternRequest {
9191 {
9292 Name : "Custom pattern" ,
@@ -151,7 +151,7 @@ func TestSecretScanningService_UpdateCustomPatternForRepo(t *testing.T) {
151151 t .Parallel ()
152152 client , mux , _ := setup (t )
153153
154- input := & SecretScanningCustomPatternUpdateRequest {
154+ input := SecretScanningCustomPatternUpdateRequest {
155155 Pattern : Ptr ("[A-Z]{3}-[0-9]{4}" ),
156156 CustomPatternVersion : Ptr ("v1" ),
157157 }
@@ -212,7 +212,7 @@ func TestSecretScanningService_DeleteCustomPatternsForRepo(t *testing.T) {
212212 },
213213 }
214214
215- mux .HandleFunc ("/repos/o/r/secret-scanning/custom-patterns" , func (w http.ResponseWriter , r * http.Request ) {
215+ mux .HandleFunc ("/repos/o/r/secret-scanning/custom-patterns" , func (_ http.ResponseWriter , r * http.Request ) {
216216 testMethod (t , r , "DELETE" )
217217 testJSONBody (t , r , input )
218218 })
0 commit comments