From 89e95b3f143682ed9a006991bacf45c9dcba4818 Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 8 Nov 2018 00:43:05 +0800 Subject: remove node_modules --- node_modules/renderkid/test/AnsiPainter.coffee | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 node_modules/renderkid/test/AnsiPainter.coffee (limited to 'node_modules/renderkid/test/AnsiPainter.coffee') diff --git a/node_modules/renderkid/test/AnsiPainter.coffee b/node_modules/renderkid/test/AnsiPainter.coffee deleted file mode 100644 index a3389867..00000000 --- a/node_modules/renderkid/test/AnsiPainter.coffee +++ /dev/null @@ -1,22 +0,0 @@ -AnsiPainter = require '../src/AnsiPainter' - -paint = (t) -> - AnsiPainter.paint(t) - -describe "AnsiPainter", -> - describe "paint()", -> - it "should handle basic coloring", -> - t = "a" - paint(t).should.equal '\u001b[30m\u001b[47ma\u001b[0m' - - it "should handle color in color", -> - t = "ab" - paint(t).should.equal '\u001b[31ma\u001b[0m\u001b[34mb\u001b[0m' - - it "should skip empty tags", -> - t = "a" - paint(t).should.equal 'a\u001b[0m' - - describe "_replaceSpecialStrings()", -> - it "should work", -> - AnsiPainter::_replaceSpecialStrings('<>"&sp;&').should.equal '<>" &' \ No newline at end of file -- cgit v1.2.3