From 156930b31787154fddbcfb218cebf2cd0e96ce9b Mon Sep 17 00:00:00 2001 From: Marak Date: Thu, 25 Jul 2013 22:04:51 -0700 Subject: [PATCH] [test] Removed gray / grey from test. Removed comments. --- test.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/test.js b/test.js index 36b9808..c32417d 100644 --- a/test.js +++ b/test.js @@ -1,12 +1,6 @@ var assert = require('assert'), colors = require('./colors'); -// -// This is a pretty nice example on how tests shouldn't be written. However, -// it's more about API stability than about really testing it (although it's -// a pretty complete test suite). -// - var s = 'string'; function a(s, code) { @@ -23,10 +17,9 @@ function aE(s, color, code) { function h(s, color) { return '' + s + ''; - // that's pretty dumb approach to testing it } -var stylesColors = ['white', 'grey', 'black', 'blue', 'cyan', 'green', 'magenta', 'red', 'yellow']; +var stylesColors = ['white', 'black', 'blue', 'cyan', 'green', 'magenta', 'red', 'yellow']; var stylesAll = stylesColors.concat(['bold', 'italic', 'underline', 'inverse', 'rainbow']); colors.mode = 'console';