From 00a95da88708380266168f040adfda6717d19b46 Mon Sep 17 00:00:00 2001 From: Samuel Laferriere Date: Tue, 24 Sep 2024 14:01:59 -0700 Subject: [PATCH] style: make lint --- types/operator_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)