Some unit tests don't make sense
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 25/100
- Issue 类型
- 文档
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- javascript, node.js
- 领域
- documentation, testing
调研方向
先从报告为 223 和 303 的单元测试用例开始,然后阅读这些测试所检验的深度相等行为。说明现有预期为何是有意设计的,或者确定一个应当更改的具体不匹配之处;当测试结果和相等语义得到清晰记录时,工作即告完成。
由索引模型根据 Issue 内容生成。
描述
Trawling thru the unit tests, I've noticed some failed tests that I really think should pass.
For example:
not ok 223 empty buffer and empty array are not equal
I, would honestly expect and empty buffer and empty array to NOT be equal. One holds arbitrary data and one holds bytes. So why then, are them not being equal a fail?
Also:
not ok 303 Date and RegExp are not equal
I cannot see any scenario where a Date and a RegExp would be any type of equal, them being 2 completely different types with completely different intended functionality. So then why is them not being equal a failed test?
I want to adopt this library, but I need to ensure I won't have any... Surprises.
Can someone explain these test results and maybe convince me to integrate this library?
- 主要语言
- JavaScript
- 星标
- 792
- 派生
- 107
- 平均合并
- 9 天 20 小时
- 30 天内合并 PR
- 1
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
inspect-js/node-deep-equal 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
inspect-js/node-deep-equal#112 ·
-
难度 4/5 3-5 天 新手友好度 35/100
inspect-js/node-deep-equal#110 ·
-
难度 4/5 3-5 天 新手友好度 35/100
inspect-js/node-deep-equal#109 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 15/100
查看 inspect-js/node-deep-equal 的全部 Issue
相似的 Issue
-
status: ready
难度 2/5 1-3 小时 新手友好度 64/100
melodic-software/claude-code-plugins#15008 · 1 条评论 ·
维护者通常 1 天内回复
-
S-Needs triage
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 2 天内回复
-
ACK_WAITING HELP_WANTED UPDATE_CS
难度 2/5 1-3 小时 新手友好度 83/100
OWASP/CheatSheetSeries#2935 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
docs-external-links-failure
难度 2/5 1-3 小时 新手友好度 65/100
ComposioHQ/composio#5297 ·
维护者通常 1 天内回复