Skip to content

Commit

Permalink
Correct missing field(s) error
Browse files Browse the repository at this point in the history
  • Loading branch information
GregDritschler authored and tekton-robot committed Mar 27, 2020
1 parent 2ed4b85 commit 1a781b7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
},
}
Expand Down

0 comments on commit 1a781b7

Please sign in to comment.