Skip to content

Failed prerequisites with wrong args is not printing expected args #439

@vfil

Description

@vfil

As described in https://github.com/marick/Midje/wiki/Describing-one-checkable%27s-prerequisites, in the case of a failure non equal arguments the, following will print:

FAIL at (NO_SOURCE_FILE:4)
You never said #'g would be called with these arguments:
    ("hello: world")

Would be nice to print also the expected value, because in the case of equality assertions on some data structures would save some time in figuring out which parts didn't match.

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