Skip to content

Commit

Permalink
chore: fix golangci-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas committed Nov 11, 2024
1 parent 3a6558f commit d764b97
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ linters:
- errcheck
- lll
- wsl
- gomnd
- testpackage
- exhaustruct
- paralleltest
Expand All @@ -31,7 +30,6 @@ linters:
- canonicalheader

# deprecated
- execinquery
- exportloopref

issues:
Expand Down
3 changes: 1 addition & 2 deletions server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (
"net/http"
"net/url"
"os"
"regexp"
"strings"
"sync"
"testing"
Expand Down Expand Up @@ -402,7 +401,7 @@ func TestMetricsVersionIsAccessible(t *testing.T) {
require.NoError(t, err)

pattern := "mercure_version_info{architecture=\".+\",built_at=\".*\",commit=\".*\",go_version=\".+\",os=\".+\",version=\"dev\"} 1"
assert.Regexp(t, regexp.MustCompile(pattern), string(b))
assert.Regexp(t, pattern, string(b))
server.assertMetric("mercure_version_info")
}

Expand Down

0 comments on commit d764b97

Please sign in to comment.