From 3be9f64398f2891d4ba10f20ed763b3c3fa01a7e Mon Sep 17 00:00:00 2001 From: Jade Guiton Date: Thu, 19 Sep 2024 12:54:50 +0200 Subject: [PATCH] Fix new linting rule in added code --- config/configgrpc/configgrpc_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/configgrpc/configgrpc_test.go b/config/configgrpc/configgrpc_test.go index b3ca3fc30ff..585b0c6d7c1 100644 --- a/config/configgrpc/configgrpc_test.go +++ b/config/configgrpc/configgrpc_test.go @@ -148,7 +148,7 @@ func TestGrpcClientExtraOption(t *testing.T) { tt.TelemetrySettings(), []ToClientConnOption{WithGrpcDialOption(extraOpt)}, ) - assert.NoError(t, err) + require.NoError(t, err) assert.Len(t, opts, 3) assert.Equal(t, opts[2], extraOpt) } @@ -283,7 +283,7 @@ func TestGrpcServerExtraOption(t *testing.T) { componenttest.NewNopTelemetrySettings(), []ToServerOption{WithGrpcServerOption(extraOpt)}, ) - assert.NoError(t, err) + require.NoError(t, err) assert.Len(t, opts, 4) assert.Equal(t, opts[3], extraOpt) }