Skip to content

Commit

Permalink
Lint code
Browse files Browse the repository at this point in the history
  • Loading branch information
shreevari committed Feb 3, 2022
1 parent f526d78 commit 285d6e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ func removeWhiteSpace(input string) string {

func getFilter(name string, values []string) []*AdditionalFilter {
return []*AdditionalFilter{
&AdditionalFilter{
{
Name: name,
Values: values,
},
Expand All @@ -267,8 +267,8 @@ func runTest(filters []*AdditionalFilter, inputString string, expected string) b
input := io.NopCloser(strings.NewReader(inputString))
fmt.Println(expected)
baseSearchPaths := [][]string{
[]string{"spec"},
[]string{"spec", "resources"},
{"spec"},
{"spec", "resources"},
}
actualBytes, _ := io.ReadAll(filter(input, filters, baseSearchPaths))
actual := string(actualBytes)
Expand Down

0 comments on commit 285d6e0

Please sign in to comment.