Simple fix to unicode
- 主要语言
- JavaScript
- 星标
- 1.9k
- 派生
- 359
- PR 合并指标
- 30 天内没有已合并 PR
描述
Caolan,
Simple request: in two places in the default.js reporter, the actual character is used in the code, for the checkmark (passed) and the xmark (failed) for an individual test.
To make it more cross-platform and unicode (and IDE) friendly, can it be replaced by the actual unicode?
line 81: replace the checkmark with '\u2714' (that is backslash character followed by u2714)
line 84: replace the xmark with '\u2716' (that is backslash character followed by u2716)
贡献指南
这个仓库没有索引到贡献指南
调研方向
Open the default.js reporter and inspect lines 81 and 84, where the checkmark and xmark characters are used. Replace those source characters with the specified Unicode escape sequences, then verify that the reporter still displays the passed and failed test markers correctly.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- testing
- Issue 类型
- 重构
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 35/100