Skip to content

Commit

Permalink
fix: remove deadcode
Browse files Browse the repository at this point in the history
Signed-off-by: Tomas Pizarro Moreno <tpizarro@vmware.com>
(cherry picked from commit e97c436)
  • Loading branch information
tompizmor authored and mattfarina committed Mar 9, 2022
1 parent 02028a2 commit 952d034
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions cmd/helm/package_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ import (
"strings"
"testing"

"github.com/spf13/cobra"

"helm.sh/helm/v3/internal/test/ensure"
"helm.sh/helm/v3/pkg/chart"
"helm.sh/helm/v3/pkg/chart/loader"
Expand Down Expand Up @@ -194,13 +192,6 @@ func TestSetAppVersion(t *testing.T) {
}
}

func setFlags(cmd *cobra.Command, flags map[string]string) {
dest := cmd.Flags()
for f, v := range flags {
dest.Set(f, v)
}
}

func TestPackageFileCompletion(t *testing.T) {
checkFileCompletion(t, "package", true)
checkFileCompletion(t, "package mypath", true) // Multiple paths can be given
Expand Down

0 comments on commit 952d034

Please sign in to comment.