caolan / caolan/nodeunit

Simple fix to unicode

Abierto
#142 4 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
1.9k
Forks
359
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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)

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
javascript
Área
testing
Tipo de issue
Refactorización
Dificultad
1/5
Tiempo estimado
Menos de una hora
Estado de actividad
Estancado
Claridad
Bien especificado
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.