Skip to content

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

@seanblue

Description

@seanblue

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions