Skip to content

Diff tool arguments support #508

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

arietis
Copy link
Contributor

@arietis arietis commented Aug 21, 2021

Added the diffToolArgs variable which allows slightly better customization of the diff message.

@arietis arietis force-pushed the feature/diff_tool_args branch from 1671432 to ef19a7a Compare August 21, 2021 14:11
@stephencelis
Copy link
Member

@arietis Diff tool arguments can usually be passed before the file names, no? So couldn't you define them in the diffTool?

SnapshotTesting.diffTool = "vimdiff -v"

@sunshinejr
Copy link

@stephencelis there might be commands that would want the order of the arguments in tact, e.g. I think for imagemagick you would do the images -> output image for diff at the end, so it would make sense to have the optional arguments.

@stephencelis
Copy link
Member

Closed by #840.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants