|
|
@ -621,20 +621,20 @@ func TestIgnoreSkippableChartValidationError(t *testing.T) {
|
|
|
|
|
|
|
|
|
|
|
|
if tc.Input == nil {
|
|
|
|
if tc.Input == nil {
|
|
|
|
if result != nil {
|
|
|
|
if result != nil {
|
|
|
|
t.Error("")
|
|
|
|
t.Error("expected nil result for nil input")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if tc.ErrorSkipped {
|
|
|
|
if tc.ErrorSkipped {
|
|
|
|
if result != nil {
|
|
|
|
if result != nil {
|
|
|
|
t.Error("")
|
|
|
|
t.Error("expected nil result for skipped error")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if tc.Input != result {
|
|
|
|
if tc.Input != result {
|
|
|
|
t.Error("")
|
|
|
|
t.Error("expected the result equal to input")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
})
|
|
|
|