From 435741eea0e1bf672fd883331705184ecc63a510 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Buscht=C3=B6ns?= Date: Tue, 20 Nov 2012 18:11:16 +0100 Subject: [PATCH] Add strikethrough tests --- test.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test.js b/test.js index 6528e8e..36b9808 100644 --- a/test.js +++ b/test.js @@ -33,6 +33,7 @@ colors.mode = 'console'; assert.equal(s.bold, '\x1B[1m' + s + '\x1B[22m'); assert.equal(s.italic, '\x1B[3m' + s + '\x1B[23m'); assert.equal(s.underline, '\x1B[4m' + s + '\x1B[24m'); +assert.equal(s.strikethrough, '\x1B[9m' + s + '\x1B[29m'); assert.equal(s.inverse, '\x1B[7m' + s + '\x1B[27m'); assert.ok(s.rainbow); aE(s, 'white', 37); @@ -55,6 +56,7 @@ colors.mode = 'browser'; assert.equal(s.bold, '' + s + ''); assert.equal(s.italic, '' + s + ''); assert.equal(s.underline, '' + s + ''); +assert.equal(s.strikethrough, '' + s + ''); assert.equal(s.inverse, '' + s + ''); assert.ok(s.rainbow); stylesColors.forEach(function (color) {