Skip to content

Commit

Permalink
style nits
Browse files Browse the repository at this point in the history
  • Loading branch information
DABH committed Apr 30, 2018
1 parent c13ff98 commit 410397a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
**/*.sw*
2 changes: 1 addition & 1 deletion tests/basic-test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var assert = require('assert'),
colors = require('../lib/index');
colors = require('../lib/index');

var s = 'string';

Expand Down
5 changes: 3 additions & 2 deletions tests/safe-test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var assert = require('assert'),
colors = require('../safe');
colors = require('../safe');

var s = 'string';

Expand Down Expand Up @@ -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');

0 comments on commit 410397a

Please sign in to comment.