示例#1
0
文件: test-ylog.js 项目: qiu8310/ylog
    it('ylog.brush', function() {
      ylog.brush('ab', 'red.green').should.eql(chalk.red.green('ab'));
      (function() {ylog.brush('ab', 'red.xgreen')}).should.throw();
      ylog.brush('ab', '').should.eql('ab');

    });