From 01729868b2119626ead0f0fbf3d2117200592db7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hans=20T=C3=B8mmerholt?= Date: Tue, 1 Oct 2024 14:15:16 +0200 Subject: [PATCH] ci: Try adding missing quotes around version --- test/integration/prometheus/generate_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 {