last test fix

This commit is contained in:
Elbaz 2023-08-27 16:03:22 +03:00
parent 29b04c6966
commit b4a1e86ec6

View File

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