Skip to content

When generating assert the right side should be the "correct" side. #125

@max-ishere

Description

@max-ishere

I have this testcase:

#[test_case(false => true; "Should invert")]
fn foo(statement: bool) -> bool {
    statement
}

And the error I get is this:

left: `true`,
right: `false`,

It would be nice if when I read "right" it would be the corrent (right) expression.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions