Skip to content

Commit

Permalink
Fix new linting rule in added code
Browse files Browse the repository at this point in the history
  • Loading branch information
jade-guiton-dd committed Sep 19, 2024
1 parent 792a14f commit 3be9f64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/configgrpc/configgrpc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down Expand Up @@ -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)
}
Expand Down

0 comments on commit 3be9f64

Please sign in to comment.