diff --git a/test/breaks.test.js b/test/breaks.test.js index 53672d7..5f75b14 100644 --- a/test/breaks.test.js +++ b/test/breaks.test.js @@ -2,19 +2,19 @@ const filter = require('../src/filter/breaks') const assert = require('assert') describe('Check "breaks"', () => { - it('Should return empty string', () => { - assert.equal(filter("\n"), "") - }) + it('Should return empty string', () => { + assert.equal(filter("\n"), "") + }) - it('Should return empty string', () => { - assert.equal(filter("\r"), "") - }) + it('Should return empty string', () => { + assert.equal(filter("\r"), "") + }) - it('Should return "foo"', () => { - assert.equal(filter("foo"), "foo") - }) + it('Should return "foo"', () => { + assert.equal(filter("foo"), "foo") + }) - it('Should return "foobar"', () => { - assert.equal(filter("\r\nfoo\nbar\r\n"), "foobar") - }) + it('Should return "foobar"', () => { + assert.equal(filter("\r\nfoo\nbar\r\n"), "foobar") + }) }); diff --git a/test/spaces.test.js b/test/spaces.test.js index 6551871..22cdc9d 100644 --- a/test/spaces.test.js +++ b/test/spaces.test.js @@ -2,15 +2,15 @@ const filter = require('../src/filter/spaces') const assert = require('assert') describe('Check "spaces"', () => { - it('Should return ""', () => { - assert.equal(filter(""), "") - }) + it('Should return ""', () => { + assert.equal(filter(""), "") + }) - it('Should return "foo bar"', () => { - assert.equal(filter("foo bar"), "foo bar") - }) + it('Should return "foo bar"', () => { + assert.equal(filter("foo bar"), "foo bar") + }) - it('Should return "foo bar"', () => { - assert.equal(filter("foo \nbar"), "foo bar") - }) + it('Should return "foo bar"', () => { + assert.equal(filter("foo \nbar"), "foo bar") + }) }); diff --git a/test/trim.test.js b/test/trim.test.js index 36c8f0e..3befb0e 100644 --- a/test/trim.test.js +++ b/test/trim.test.js @@ -2,19 +2,19 @@ const filter = require('../src/filter/trim') const assert = require('assert') describe('Check "trim"', () => { - it('Should return ""', () => { - assert.equal(filter(""), "") - }) + it('Should return ""', () => { + assert.equal(filter(""), "") + }) - it('Should return ""', () => { - assert.equal(filter(" "), "") - }) + it('Should return ""', () => { + assert.equal(filter(" "), "") + }) - it('Should return "foo"', () => { - assert.equal(filter(" foo "), "foo") - }) + it('Should return "foo"', () => { + assert.equal(filter(" foo "), "foo") + }) - it('Should return "foo bar"', () => { - assert.equal(filter(" foo bar \n"), "foo bar") - }) + it('Should return "foo bar"', () => { + assert.equal(filter(" foo bar \n"), "foo bar") + }) });