uutils / uutils/diffutils

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

Open
#39 5 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.