Skip to content

Commit

Permalink
ci: Try adding missing quotes around version
Browse files Browse the repository at this point in the history
  • Loading branch information
hanssto committed Oct 1, 2024
1 parent 734557b commit 0172986
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/integration/prometheus/generate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package prometheus_test
import (
"bytes"
"context"
"fmt"
"os"
"testing"
"text/template"
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 0172986

Please sign in to comment.