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 --- internal/tests/integration/config_test.go | 4 ++-- internal/tests/integration/integration_test.go | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'internal/tests/integration') diff --git a/internal/tests/integration/config_test.go b/internal/tests/integration/config_test.go index 80c9d904..8800cc4c 100644 --- a/internal/tests/integration/config_test.go +++ b/internal/tests/integration/config_test.go @@ -186,7 +186,7 @@ datasources: o, e, err := cmd(t).withDir(tmpDir.Path()). withEnv("GOMPLATE_LEFT_DELIM", "<<").run() require.NoError(t, err) - assert.Equal(t, "", e) + assert.Empty(t, e) assert.Equal(t, "hello world", o) } @@ -210,7 +210,7 @@ datasources: withDir(tmpDir.Path()). withEnv("GOMPLATE_LEFT_DELIM", "<<").run() require.NoError(t, err) - assert.Equal(t, "", e) + assert.Empty(t, e) assert.Equal(t, "hello world", o) } diff --git a/internal/tests/integration/integration_test.go b/internal/tests/integration/integration_test.go index 10439288..b060fb9f 100644 --- a/internal/tests/integration/integration_test.go +++ b/internal/tests/integration/integration_test.go @@ -52,7 +52,7 @@ func inOutContains(t *testing.T, i, o string) { t.Helper() stdout, stderr, err := cmd(t, "-i", i).run() - assert.Equal(t, "", stderr) + assert.Empty(t, stderr) assert.Contains(t, stdout, o) require.NoError(t, err) } @@ -63,7 +63,7 @@ func assertSuccess(t *testing.T, o, e string, err error, expected string) { require.NoError(t, err) // Filter out AWS SDK checksum warnings filteredErr := filterAWSChecksumWarnings(e) - assert.Equal(t, "", filteredErr) + assert.Empty(t, filteredErr) assert.Equal(t, expected, o) } @@ -87,7 +87,7 @@ func assertFailed(t *testing.T, o, e string, err error, expected string) { t.Helper() assert.Contains(t, e, expected) - assert.Equal(t, "", o) + assert.Empty(t, o) require.Error(t, err) } -- cgit v1.2.3