Skip to content

assert_debug_eq gives unexpected results with expect_file #45

@jberryman

Description

@jberryman

I think... or maybe I don't understand the docs.

If I do expect_file![path].assert_eq(&actual) in diff below I get the green case, while assert_debug_eq gives red. I was expecting the latter to result in a file with indentation and newlines so it can be read. The docs say "leading indentation is automatically removed", but I'm not sure what that means

image

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