diff --git a/commit/report_test.go b/commit/report_test.go index affc169e..87b61cf7 100644 --- a/commit/report_test.go +++ b/commit/report_test.go @@ -124,6 +124,7 @@ func TestPluginReports(t *testing.T) { } outcomeBytes, err := tc.outc.Encode() + require.NoError(t, err) reports, err := p.Reports(ctx, 0, outcomeBytes) if tc.expErr {