Some tests require `ed` and fail if it is not installed
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 276
- Forks
- 39
- Avg merge
- 3h 27m
- Merged PRs (30d)
- 3
Description
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").
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating ed_diff::tests::test_permutations, test_permutations_empty_lines, and test_permutations_reverse, then run cargo test in an environment without ed installed to reproduce the failures. Check how these tests invoke Command::new("ed") and define completion as having the affected tests pass without requiring an uninstalled external command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100