(t *testing.T)
| 55 | } |
| 56 | |
| 57 | func TestValidateChartYamlFormat(t *testing.T) { |
| 58 | err := validateChartYamlFormat(errors.New("Read error")) |
| 59 | if err == nil { |
| 60 | t.Error("validateChartYamlFormat to return a linter error, got no error") |
| 61 | } |
| 62 | |
| 63 | err = validateChartYamlFormat(nil) |
| 64 | if err != nil { |
| 65 | t.Error("validateChartYamlFormat to return no error, got a linter error") |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | func TestValidateChartName(t *testing.T) { |
| 70 | err := validateChartName(badChart) |
nothing calls this directly
no test coverage detected
searching dependent graphs…