Skip to content

assert!(a == b, ...) to assert_eq!(a, b, ...) #1106

Closed
@ticki

Description

@ticki

A warn-lint which detects equality assertions using assert! instead of assert_eq!. Generally, this is considered an anti-pattern.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintArea: New lintsE-mediumCall for participation: Medium difficulty level problem and requires some initial experience.L-styleLint: Belongs in the style lint groupT-ASTType: Requires working with the AST

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions