Skip to content

Conversation

@pavel-usachev
Copy link

Fixes #592
Added vimdiff tool.

@pavel-usachev
Copy link
Author

@SimonCropp would you please have a glance and maybe pull these changes? There's an issue in statements order on CI. Is that ok?

*.received.txt
src/TestResults/
src/TestDiffTools/Main.approved.txt
src/TestDiffTools/*.approved.*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't want to ignore these as it's good to have them visible in the PR to identity what's a breaking change.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we still need Main.approved ignored? This is the only approval file in the utility for testing purposes.

@SimonCropp
Copy link
Contributor

i have been holding off on this one, since i would prefer to consume https://github.com/VerifyTests/DiffEngine/ in shouldly.

@josephwoodward thoughts?

{
public VimDiff() : base("VimDiff", new DiffToolConfig
{
WindowsPath = @"vim.bat",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this really safe to assume on all machines?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typical vim for windows installer puts several *.bat files into %WINDIR% folder when option Create .bat files selected. Search for editor in %PATH% seemed more reasonable to me. What do you think?

@SimonCropp
Copy link
Contributor

@pavel-usachev some minor feedback on the PR as a whole. when you do a PR, try and keep it as small and isolated as possible. In this PR you have fixed a bug, added a feature, and done a non trivial refactor. Combining all these things will significantly slow down the progress of the PR

@pavel-usachev
Copy link
Author

@SimonCropp thanks for your advice. Next time I'll think twice.

@SimonCropp SimonCropp mentioned this pull request Jul 11, 2020
@SimonCropp
Copy link
Contributor

fixed by #644

@SimonCropp SimonCropp closed this Aug 4, 2020
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.

ShouldBeApproved: "current Visual Studio" DiffTool wrong arguments order

3 participants