Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[chore]: enable expected-actual rule from testifylint #34998

Merged

Conversation

mmorel-35
Copy link
Contributor

Description

Testifylint is a linter that provides best practices with the use of testify.

This PR enables expected-actual rule from testifylint

@crobert-1
Copy link
Member

#35007 is open for the failing fileconsumer tests, I believe the failures are unrelated to this change.

@mmorel-35 mmorel-35 force-pushed the testifylint/expected-actual branch 2 times, most recently from 2d2a20d to 26ff901 Compare September 4, 2024 21:40
@github-actions github-actions bot added the cmd/otelcontribcol otelcontribcol command label Sep 4, 2024
@mmorel-35 mmorel-35 force-pushed the testifylint/expected-actual branch 2 times, most recently from 49cad1e to ade0584 Compare September 4, 2024 22:09
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
@songy23 songy23 added the ready to merge Code review completed; ready to merge by maintainers label Sep 5, 2024
@codeboten codeboten merged commit 145145c into open-telemetry:main Sep 5, 2024
156 checks passed
@github-actions github-actions bot added this to the next release milestone Sep 5, 2024
@mmorel-35 mmorel-35 deleted the testifylint/expected-actual branch September 5, 2024 16:24
f7o pushed a commit to f7o/opentelemetry-collector-contrib that referenced this pull request Sep 12, 2024
…#34998)

#### Description

Testifylint is a linter that provides best practices with the use of
testify.

This PR enables
[expected-actual](https://github.com/Antonboom/testifylint?tab=readme-ov-file#expected-actual)
rule from [testifylint](https://github.com/Antonboom/testifylint)

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants