Some tests require `ed` and fail if it is not installed
未关闭
还没有人认领这个 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").
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 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