style nits

This commit is contained in:
DABH 2018-04-30 11:32:50 -07:00
parent c13ff984bb
commit 410397a5fb
3 changed files with 5 additions and 3 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
**/*.sw*

View File

@ -1,5 +1,5 @@
var assert = require('assert'),
colors = require('../lib/index');
colors = require('../lib/index');
var s = 'string';

View File

@ -1,5 +1,5 @@
var assert = require('assert'),
colors = require('../safe');
colors = require('../safe');
var s = 'string';
@ -53,4 +53,5 @@ assert.equal(colors.red(testStringWithNewLinesStyled), '\x1b[31m' + '\x1b[4m' +
colors.setTheme({ error: 'red' });
assert.equal(typeof (colors.red("astring")), 'string');
assert.equal(typeof (colors.error("astring")), 'string');
assert.equal(typeof (colors.error("astring")), 'string');