Ensure premultiply op occurs before box shrink #605

This commit is contained in:
Lovell Fuller
2016-12-04 18:25:44 +00:00
parent 7231d92d1f
commit d3c78f825c
11 changed files with 42 additions and 33 deletions

View File

@@ -114,7 +114,7 @@ describe('Partial image extraction', function () {
if (err) throw err;
assert.strictEqual(280, info.width);
assert.strictEqual(380, info.height);
fixtures.assertSimilar(fixtures.expected('rotate-extract.jpg'), data, done);
fixtures.assertSimilar(fixtures.expected('rotate-extract.jpg'), data, { threshold: 6 }, done);
});
});