Skip to content

In error message if "actual" is missing indicate it might be nil #30

@FourierTransformer

Description

@FourierTransformer

I think we can make the error message more clear if actual appears to be missing. While it may actually be missing, it could also have returned nil and now appears to be missing.

Currently:

The assertion table must include 'expected' and 'actual'. Missing: 'actual'

but yeah, indicating that it might be returning nil could help the test writer from some confusion.

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