You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-11-25 22:41:46 +02:00
[chore]: enable suite-extra-assert-call rule from testifylint (#5833)
#### Description Testifylint is a linter that provides best practices with the use of testify. This PR enables [suite-extra-assert-call](https://github.com/Antonboom/testifylint?tab=readme-ov-file#suite-extra-assert-call) rule from [testifylint](https://github.com/Antonboom/testifylint) Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This commit is contained in:
@@ -198,7 +198,7 @@ func (ts *readerTestSuite) TestShutdownBeforeRegister() {
|
||||
func (ts *readerTestSuite) TestCollectNilResourceMetricError() {
|
||||
ts.Reader = ts.Factory()
|
||||
ctx := context.Background()
|
||||
ts.Assert().Error(ts.Reader.Collect(ctx, nil))
|
||||
ts.Error(ts.Reader.Collect(ctx, nil))
|
||||
}
|
||||
|
||||
var testScopeMetricsA = metricdata.ScopeMetrics{
|
||||
|
||||
Reference in New Issue
Block a user