Skip to content

Commit

Permalink
gofmt search_test
Browse files Browse the repository at this point in the history
  • Loading branch information
wallentx committed Oct 1, 2024
1 parent fb297a4 commit ccc9631
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions cmd/krew/cmd/search_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,16 @@ func Test_searchByNameAndDesc(t *testing.T) {
},
expected: []string{"baz"},
},
{
keyword: "",
names: []string{"plugin1", "plugin2", "plugin3"}, // empty keyword, only names match
descs: []string{
"Description for plugin1",
"Description for plugin2",
"Description for plugin3",
},
expected: []string{"plugin1", "plugin2", "plugin3"},
},
{
keyword: "",
names: []string{"plugin1", "plugin2", "plugin3"}, // empty keyword, only names match
descs: []string{
"Description for plugin1",
"Description for plugin2",
"Description for plugin3",
},
expected: []string{"plugin1", "plugin2", "plugin3"},
},
}

for _, tp := range testPlugins {
Expand Down

0 comments on commit ccc9631

Please sign in to comment.