From 410397a5fb66bcdb79c96fa57f6e4d3cca783474 Mon Sep 17 00:00:00 2001 From: DABH Date: Mon, 30 Apr 2018 11:32:50 -0700 Subject: [PATCH] style nits --- .gitignore | 1 + tests/basic-test.js | 2 +- tests/safe-test.js | 5 +++-- 3 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..78fd378 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +**/*.sw* diff --git a/tests/basic-test.js b/tests/basic-test.js index 4924be1..9c17ed4 100644 --- a/tests/basic-test.js +++ b/tests/basic-test.js @@ -1,5 +1,5 @@ var assert = require('assert'), - colors = require('../lib/index'); + colors = require('../lib/index'); var s = 'string'; diff --git a/tests/safe-test.js b/tests/safe-test.js index 1d8a5aa..c8388f3 100644 --- a/tests/safe-test.js +++ b/tests/safe-test.js @@ -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'); \ No newline at end of file +assert.equal(typeof (colors.error("astring")), 'string'); +