refactor and extract the RegExp escaping

This commit is contained in:
Sindre Sorhus 2014-06-24 17:13:41 +02:00
parent 1956792293
commit 763b167349
3 changed files with 9 additions and 19 deletions

View file

@ -1,6 +1,6 @@
'use strict';
var assert = require('assert');
var chalk = require('./index');
var chalk = require('./');
describe('chalk', function () {
it('should style string', function () {