diff --git a/test/integration/prometheus/generate_test.go b/test/integration/prometheus/generate_test.go index 1c0501d1..51b3b377 100644 --- a/test/integration/prometheus/generate_test.go +++ b/test/integration/prometheus/generate_test.go @@ -3,6 +3,7 @@ package prometheus_test import ( "bytes" "context" + "fmt" "os" "testing" "text/template" @@ -42,7 +43,7 @@ func TestPrometheusGenerate(t *testing.T) { version, err := testutils.SlothVersion(context.TODO(), config.Binary) require.NoError(t, err) - expectLoader := expecteOutLoader{version: version} + expectLoader := expecteOutLoader{version: fmt.Sprintf("\"%s\"", version)} // Tests. tests := map[string]struct {