Skip to content

formatter: add diff to snapshot #14532

@Sysix

Description

@Sysix

In #14469 and #13969 snapshot testing for the formatter was implemented.
It is sometimes hard to detect the changes, specially when only whitespace is removed.

Request

add a diff tool to the snapshot function. My first search found https://difftastic.wilfred.me.uk/

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-editorArea - Editor and Language ServerA-formatterArea - FormatterC-testCategory - Testing. Code is missing test cases, or a PR is adding them

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions