uutils / uutils/diffutils

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

未关闭
#39 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Rust
星标
276
派生
39
平均合并
3 小时 27 分钟
30 天内合并 PR
3

描述

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").

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先定位 ed_diff::tests::test_permutations、test_permutations_empty_lines 和 test_permutations_reverse,然后在未安装 ed 的环境中运行 cargo test,以重现这些失败。检查这些测试如何调用 Command::new("ed"),并将完成标准定义为受影响的测试通过,且不要求未安装的外部命令。

由索引模型根据 Issue 内容生成。

评估

技术栈
rust
领域
testing-qa
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。