diff --git a/pkg/apis/resource/v1alpha1/pipelineresource_validation_test.go b/pkg/apis/resource/v1alpha1/pipelineresource_validation_test.go index 1d811e678ae..201b0e73750 100644 --- a/pkg/apis/resource/v1alpha1/pipelineresource_validation_test.go +++ b/pkg/apis/resource/v1alpha1/pipelineresource_validation_test.go @@ -137,7 +137,7 @@ func TestResourceValidation_Invalid(t *testing.T) { want: apis.ErrInvalidValue("spec.type", "not-supported"), }, { name: "missing spec", - res: &v1alpha1.PipelineResource{}, + res: &v1alpha1.PipelineResource{}, want: apis.ErrMissingField("spec.type"), }, }