Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added test case for reset bit

  • Loading branch information...
commit 9f816c6df25a3b5918935159f5e7cfa94b417641 1 parent c07ede1
@davglass davglass authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 test/ansispan-test.js
View
4 test/ansispan-test.js
@@ -25,6 +25,10 @@ var dataSets = {
input: '\033\[0;32mhello world\033\[39m',
output: '<span style="color: green">hello world</span>'
},
+ 'colors with reset bit': {
+ input: '\033[35mhello world\033[0m',
+ output: '<span style="color: purple">hello world</span>'
+ },
bold: {
input: 'hello world'.bold,
output: '<b>hello world</b>'
Please sign in to comment.
Something went wrong with that request. Please try again.