mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
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
Block a user