removed Version from create tests as output schema and values aren't tested

parent 2e0f949d
...@@ -32,7 +32,7 @@ func TestCreate(t *testing.T) { ...@@ -32,7 +32,7 @@ func TestCreate(t *testing.T) {
} }
defer os.RemoveAll(tdir) defer os.RemoveAll(tdir)
cf := &chart.Metadata{Name: "foo", Version: "1.0.0+a056a76"} cf := &chart.Metadata{Name: "foo"}
c, err := Create(cf, tdir) c, err := Create(cf, tdir)
if err != nil { if err != nil {
...@@ -83,7 +83,7 @@ func TestCreateFrom(t *testing.T) { ...@@ -83,7 +83,7 @@ func TestCreateFrom(t *testing.T) {
} }
defer os.RemoveAll(tdir) defer os.RemoveAll(tdir)
cf := &chart.Metadata{Name: "foo", Version: "1.0.0+a056a76"} cf := &chart.Metadata{Name: "foo"}
srcdir := "./testdata/mariner" srcdir := "./testdata/mariner"
if err := CreateFrom(cf, tdir, srcdir); err != nil { if err := CreateFrom(cf, tdir, srcdir); err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment