Skip to content

Allow blacklisted names in tests #2198

Open
@mikeyhew

Description

@mikeyhew

Hi! First of all, great job with clippy to everyone involved. I just installed it and ran cargo clippy, and I like how seamlessly it runs – it's just like running cargo check, but with more lints.

One of the lints that I noticed is the lint for placeholder variable names like foo and bar. In general I think this is a great idea, but in the context of tests I think it should be turned off by default. I use foo and bar all the time in tests, and I don't think it's a problem there. Does anyone think otherwise?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions