15 lines
386 B
Go
15 lines
386 B
Go
//golangcitest:args -Ereassign
|
|
//golangcitest:config_path testdata/configs/reassign_patterns.yml
|
|
package testdata
|
|
|
|
import (
|
|
"io"
|
|
"net/http"
|
|
)
|
|
|
|
func reassignTestPatterns() {
|
|
http.DefaultClient = nil // want `reassigning variable DefaultClient in other package http`
|
|
http.DefaultTransport = nil // want `reassigning variable DefaultTransport in other package http`
|
|
io.EOF = nil
|
|
}
|