Rename http client test
This commit is contained in:
parent
ead558261d
commit
fb9531b3d9
|
@ -10,7 +10,7 @@ import (
|
|||
"github.com/hashicorp/terraform/version"
|
||||
)
|
||||
|
||||
func TestUserAgent(t *testing.T) {
|
||||
func TestNew_userAgent(t *testing.T) {
|
||||
var actualUserAgent string
|
||||
ts := httptest.NewServer(http.HandlerFunc(func(rw http.ResponseWriter, req *http.Request) {
|
||||
actualUserAgent = req.UserAgent()
|
||||
|
|
Loading…
Reference in New Issue