Permalink
Browse files

Added test case for reset bit

  • Loading branch information...
1 parent c07ede1 commit 9f816c6df25a3b5918935159f5e7cfa94b417641 @davglass davglass committed Oct 31, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 test/ansispan-test.js
View
@@ -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>'

0 comments on commit 9f816c6

Please sign in to comment.