Update linter plus related spacing fixes

This commit is contained in:
Lovell Fuller
2018-01-05 10:18:08 +00:00
parent 707c05b5f5
commit 8e74668e3c
7 changed files with 280 additions and 280 deletions

View File

@@ -11,7 +11,7 @@ describe('Image channel insertion', function () {
sharp(fixtures.inputPng) // gray -> red
.resize(320, 240)
.joinChannel(fixtures.inputPngTestJoinChannel) // new green channel
.joinChannel(fixtures.inputPngStripesH) // new blue channel
.joinChannel(fixtures.inputPngStripesH) // new blue channel
.toBuffer(function (err, data, info) {
if (err) throw err;
assert.strictEqual(320, info.width);
@@ -25,7 +25,7 @@ describe('Image channel insertion', function () {
sharp(fixtures.inputPng) // gray -> red
.resize(320, 240)
.joinChannel(fs.readFileSync(fixtures.inputPngTestJoinChannel)) // new green channel
.joinChannel(fs.readFileSync(fixtures.inputPngStripesH)) // new blue channel
.joinChannel(fs.readFileSync(fixtures.inputPngStripesH)) // new blue channel
.toBuffer(function (err, data, info) {
if (err) throw err;
assert.strictEqual(320, info.width);