Rename http client test

This commit is contained in:
Paul Tyng 2018-03-15 09:48:09 -04:00
parent ead558261d
commit fb9531b3d9
No known key found for this signature in database
GPG Key ID: E518875D6C65835A
1 changed files with 1 additions and 1 deletions

View File

@ -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()