fix: remove deadcode

Signed-off-by: Tomas Pizarro Moreno <tpizarro@vmware.com>
(cherry picked from commit e97c436a86)
pull/10808/head
Tomas Pizarro Moreno 4 years ago committed by Matt Farina
parent 02028a27a8
commit 952d034ed0
No known key found for this signature in database
GPG Key ID: 92C44A3D421FF7F9

@ -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"
@ -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

Loading…
Cancel
Save