diffutils icon indicating copy to clipboard operation
diffutils copied to clipboard

Some tests require `ed` and fail if it is not installed

Open cakebaker opened this issue 1 year ago • 1 comments

When running cargo test the following tests fail if ed is not installed:

  • ed_diff::tests::test_permutations
  • ed_diff::tests::test_permutations_empty_lines
  • ed_diff::tests::test_permutations_reverse

They fail because they call Command::new("ed").

cakebaker avatar Apr 01 '24 08:04 cakebaker

The Git for Windows installer installs a number of standard Unix executables in C:\Program Files\Git\usr\bin\. Unfortunately, ed isn't one of them.

oSoMoN avatar Apr 21 '24 20:04 oSoMoN