caolan / caolan/nodeunit

Simple fix to unicode

オープン
#142 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。