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

Use Is.False / Is.True instead of Is.EqualTo #824

Open
seanblue opened this issue Jan 3, 2025 · 0 comments
Open

Use Is.False / Is.True instead of Is.EqualTo #824

seanblue opened this issue Jan 3, 2025 · 0 comments

Comments

@seanblue
Copy link

seanblue commented Jan 3, 2025

It would be helpful to have analyzers that suggest converting Is.EqualTo(false) to Is.False and Is.EqualTo(true) to Is.True. It should probably only flag this when using the false/true keywords within Is.EqualTo, not when those values are coming from variables, since the variables could be a design choice to be reused between setup and assertion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant