update tests

This commit is contained in:
Elbaz 2023-08-27 15:00:43 +03:00
parent 092d34b055
commit 3f837f90e6

View File

@ -30,7 +30,7 @@ func TestNew_userAgent(t *testing.T) {
request func(c *http.Client) error
}{
{
fmt.Sprintf("Terraform/%s", version.Version),
fmt.Sprintf("placeholderplaceholderplaceholder-OpenTF/%s (+https://www.opentf.org)", version.Version),
func(c *http.Client) error {
_, err := c.Get(ts.URL)
return err