caolan / caolan/nodeunit

Simple fix to unicode

Offen
#142 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
1.9k
Forks
359
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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)

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.