Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: sh2 <[email protected]>
  • Loading branch information
shawnh2 committed Dec 27, 2023
1 parent 1012128 commit 7bb9cd5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/plugins/manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
package plugins

import (
"fmt"
"testing"
)

Expand All @@ -27,8 +26,7 @@ func TestPluginManager(t *testing.T) {
}

pluginName := "foo-plugin"
receiveErr := fmt.Errorf("unknown command: %s", pluginName)
if pm.ShouldRun(receiveErr) {
if pm.ShouldRun(pluginName) {
if err := pm.Run([]string{pluginName, "1", "2", "3"}); err != nil {
t.Fatal(err)
}
Expand Down

0 comments on commit 7bb9cd5

Please sign in to comment.