From 623a7d5952b77a76f4bf122f3e057fd2249bc99d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Apr 2025 22:47:59 +0000 Subject: 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] * fix(lint): Fixing new lint errors Signed-off-by: Dave Henderson --------- Signed-off-by: dependabot[bot] Signed-off-by: Dave Henderson Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dave Henderson --- tmpl/tmpl_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tmpl') diff --git a/tmpl/tmpl_test.go b/tmpl/tmpl_test.go index 00e66247..fe352a63 100644 --- a/tmpl/tmpl_test.go +++ b/tmpl/tmpl_test.go @@ -95,7 +95,7 @@ func TestPath(t *testing.T) { p, err := tmpl.Path() require.NoError(t, err) - assert.Equal(t, "", p) + assert.Empty(t, p) tmpl = New(nil, nil, "foo") p, err = tmpl.Path() @@ -108,7 +108,7 @@ func TestPathDir(t *testing.T) { p, err := tmpl.PathDir() require.NoError(t, err) - assert.Equal(t, "", p) + assert.Empty(t, p) tmpl = New(nil, nil, "foo") p, err = tmpl.PathDir() -- cgit v1.2.3