diff --git a/types/operator_test.go b/types/operator_test.go index cf26c0b1..f673be18 100644 --- a/types/operator_test.go +++ b/types/operator_test.go @@ -44,7 +44,8 @@ func TestOperatorValidate(t *testing.T) { } marshalledOperatorMetadata, err := json.Marshal(operatorMetadata) require.NoError(t, err) - w.Write(marshalledOperatorMetadata) + _, err = w.Write(marshalledOperatorMetadata) + require.NoError(t, err) })) defer ts.Close() fmt.Println(ts.URL)