summaryrefslogtreecommitdiff
path: root/internal/urlhelpers
diff options
context:
space:
mode:
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2025-04-14 22:47:59 +0000
committerGitHub <noreply@github.com>2025-04-14 22:47:59 +0000
commit623a7d5952b77a76f4bf122f3e057fd2249bc99d (patch)
treebeed6ce566ae9e0725d99ac671c88bf5629a19b6 /internal/urlhelpers
parent40eab0b7df39f7751578fc85e5cd133b86fb2812 (diff)
deps(actions): Bump golangci/golangci-lint-action from 6 to 7 (#2357)
* deps(actions): Bump golangci/golangci-lint-action from 6 to 7 Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6 to 7. - [Release notes](https://github.com/golangci/golangci-lint-action/releases) - [Commits](https://github.com/golangci/golangci-lint-action/compare/v6...v7) --- updated-dependencies: - dependency-name: golangci/golangci-lint-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * fix(lint): Fixing new lint errors Signed-off-by: Dave Henderson <dhenderson@gmail.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Dave Henderson <dhenderson@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'internal/urlhelpers')
-rw-r--r--internal/urlhelpers/urlhelpers_test.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/internal/urlhelpers/urlhelpers_test.go b/internal/urlhelpers/urlhelpers_test.go
index 2065e7bb..117042d6 100644
--- a/internal/urlhelpers/urlhelpers_test.go
+++ b/internal/urlhelpers/urlhelpers_test.go
@@ -17,26 +17,26 @@ func TestParseSourceURL(t *testing.T) {
}
u, err := ParseSourceURL("http://example.com/foo.json?bar")
require.NoError(t, err)
- assert.EqualValues(t, expected, u)
+ assert.Equal(t, expected, u)
expected = &url.URL{Scheme: "", Path: ""}
u, err = ParseSourceURL("")
require.NoError(t, err)
- assert.EqualValues(t, expected, u)
+ assert.Equal(t, expected, u)
expected = &url.URL{Scheme: "stdin"}
u, err = ParseSourceURL("-")
require.NoError(t, err)
- assert.EqualValues(t, expected, u)
+ assert.Equal(t, expected, u)
// behaviour change in v4 - return relative if it's relative
expected = &url.URL{Path: "./foo/bar.json"}
u, err = ParseSourceURL("./foo/bar.json")
require.NoError(t, err)
- assert.EqualValues(t, expected, u)
+ assert.Equal(t, expected, u)
expected = &url.URL{Scheme: "file", Path: "/absolute/bar.json"}
u, err = ParseSourceURL("/absolute/bar.json")
require.NoError(t, err)
- assert.EqualValues(t, expected, u)
+ assert.Equal(t, expected, u)
}