|
|
@ -447,7 +447,7 @@ func TestInstallReleaseIncorrectTemplate_DryRun(t *testing.T) {
|
|
|
|
vals := map[string]interface{}{}
|
|
|
|
vals := map[string]interface{}{}
|
|
|
|
_, err := instAction.Run(buildChart(withSampleIncludingIncorrectTemplates()), vals)
|
|
|
|
_, err := instAction.Run(buildChart(withSampleIncludingIncorrectTemplates()), vals)
|
|
|
|
expectedErr := `hello/templates/incorrect:1:10
|
|
|
|
expectedErr := `hello/templates/incorrect:1:10
|
|
|
|
executing "hello/templates/incorrect" at <.Values.bad.doh>:
|
|
|
|
executing "hello/templates/incorrect" at <.Values.bad.doh>:
|
|
|
|
nil pointer evaluating interface {}.doh`
|
|
|
|
nil pointer evaluating interface {}.doh`
|
|
|
|
if err == nil {
|
|
|
|
if err == nil {
|
|
|
|
t.Fatalf("Install should fail containing error: %s", expectedErr)
|
|
|
|
t.Fatalf("Install should fail containing error: %s", expectedErr)
|
|
|
|