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

fix: use Succeed() instead of BeNil() #568

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

acosta11
Copy link
Member

Description

Fix linter issue with use of BeNil() matcher for a function that returns error. Use Succeed() matcher instead. Only showed up now because of recent linter change to correctly check for the issue in async assertions.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Testing performed?

  • Unit tests

Checklist:

  • This PR is being made against the main branch, or relevant version branch

golangci-lint -> ginkgolinter v0.17.0 update to check async assertions
@acosta11 acosta11 requested a review from a team as a code owner November 12, 2024 23:10
@ctlong ctlong self-assigned this Nov 12, 2024
@ctlong ctlong merged commit fabd616 into cloudfoundry:main Nov 13, 2024
7 checks passed
@ctlong ctlong deleted the fix-benil-succeed-linter branch November 13, 2024 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants