(t *testing.T)
| 90 | } |
| 91 | |
| 92 | func TestMetadata(t *testing.T) { |
| 93 | chrt := Chart{ |
| 94 | Metadata: &Metadata{ |
| 95 | Name: "foo.yaml", |
| 96 | AppVersion: "1.0.0", |
| 97 | APIVersion: "v2", |
| 98 | Version: "1.0.0", |
| 99 | Type: "application", |
| 100 | }, |
| 101 | } |
| 102 | |
| 103 | is := assert.New(t) |
| 104 | |
| 105 | is.Equal("foo.yaml", chrt.Name()) |
| 106 | is.Equal("1.0.0", chrt.AppVersion()) |
| 107 | is.Equal(nil, chrt.Validate()) |
| 108 | } |
| 109 | |
| 110 | func TestIsRoot(t *testing.T) { |
| 111 | chrt1 := Chart{ |
nothing calls this directly
no test coverage detected
searching dependent graphs…