Skip to content

Message not clear enough #157

@szydan

Description

@szydan

When the assertion fails you get something like

Error: expected 6 to equal 7

Could this be improved a bit to explicitly say which one was the expected and which one was the actual value. Something like:

Error: Expected: [7] Actual: [6]

Sorry maybe for native english speaker the existing message is obvious but for the rest of us it is NOT. I always have to look at the test case to see which one is which. Something small but I believe it would make life easier for a whole bunch of users.
Thanks

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