diff options
| author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 2025-04-14 22:47:59 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-14 22:47:59 +0000 |
| commit | 623a7d5952b77a76f4bf122f3e057fd2249bc99d (patch) | |
| tree | beed6ce566ae9e0725d99ac671c88bf5629a19b6 /plugins_test.go | |
| parent | 40eab0b7df39f7751578fc85e5cd133b86fb2812 (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 'plugins_test.go')
| -rw-r--r-- | plugins_test.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins_test.go b/plugins_test.go index a3596cda..f6b1ae86 100644 --- a/plugins_test.go +++ b/plugins_test.go @@ -22,7 +22,7 @@ func TestBindPlugins(t *testing.T) { } err := bindPlugins(ctx, cfg, fm) require.NoError(t, err) - assert.EqualValues(t, template.FuncMap{}, fm) + assert.Equal(t, template.FuncMap{}, fm) cfg.Plugins = map[string]PluginConfig{"foo": {Cmd: "bar"}} err = bindPlugins(ctx, cfg, fm) @@ -53,7 +53,7 @@ func TestBuildCommand(t *testing.T) { } name, args := p.buildCommand(d.args) actual := append([]string{name}, args...) - assert.EqualValues(t, d.expected, actual) + assert.Equal(t, d.expected, actual) } } @@ -69,7 +69,7 @@ func TestRun(t *testing.T) { } out, err := p.run("foo") require.NoError(t, err) - assert.Equal(t, "", stderr.String()) + assert.Empty(t, stderr.String()) assert.Equal(t, "foo", strings.TrimSpace(out.(string))) p = &plugin{ @@ -81,7 +81,7 @@ func TestRun(t *testing.T) { } out, err = p.run() require.NoError(t, err) - assert.Equal(t, "", stderr.String()) + assert.Empty(t, stderr.String()) assert.Equal(t, "foo bar", strings.TrimSpace(out.(string))) p = &plugin{ @@ -93,7 +93,7 @@ func TestRun(t *testing.T) { } out, err = p.run("baz", "qux") require.NoError(t, err) - assert.Equal(t, "", stderr.String()) + assert.Empty(t, stderr.String()) assert.Equal(t, "foo bar baz qux", strings.TrimSpace(out.(string))) } |
