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

@@ -436,14 +436,14 @@ describe('Resize dimensions', function () {
it('fastShrinkOnLoad: true (default) might result in shifted image', function (done) {
return sharp(fixtures.inputJpgCenteredImage)
.resize(9, 8)
.png()
.toBuffer(function (err, data, info) {
if (err) throw err;
assert.strictEqual(9, info.width);
assert.strictEqual(8, info.height);
fixtures.assertSimilar(fixtures.expected('fast-shrink-on-load-true.png'), data, done);
});
.resize(9, 8)
.png()
.toBuffer(function (err, data, info) {
if (err) throw err;
assert.strictEqual(9, info.width);
assert.strictEqual(8, info.height);
fixtures.assertSimilar(fixtures.expected('fast-shrink-on-load-true.png'), data, done);
});
});
[