Skip to content

Consider adding #[must_use] to Command::assert() #266

@casey

Description

@casey

I found a few of my tests where I had just assert() with no actual .success(), .failure() or other conditions. It might be nice to add #[must_use] to Command::assert() so that errors like this would result in a warning.

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