This commit is contained in:
Martin Heidegger 2016-01-17 11:35:30 +00:00
commit f3f1f4e06b

View file

@ -72,6 +72,10 @@ describe('chalk', function () {
it('line breaks should open and close colors', function () { it('line breaks should open and close colors', function () {
assert.equal(chalk.grey('hello\nworld'), '\u001b[90mhello\u001b[39m\n\u001b[90mworld\u001b[39m'); assert.equal(chalk.grey('hello\nworld'), '\u001b[90mhello\u001b[39m\n\u001b[90mworld\u001b[39m');
}); });
it('line breaks should open and close colors', function () {
assert.equal(chalk.grey('hello\nworld'), '\u001b[90mhello\u001b[39m\n\u001b[90mworld\u001b[39m');
});
}); });
describe('chalk on windows', function () { describe('chalk on windows', function () {