Skip to content

assert_eq! should show a diff for failing asserts #145114

@Jak2k

Description

@Jak2k

Problem

When an assert_eq! in a test fails, the differences between left and right are very hard to see.

Proposed Solution

cargo test should show a diff, when an assert_eq! fails.

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: A feature request, i.e: not implemented / a PR.needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions