mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
committed by
Lovell Fuller
parent
15a577863a
commit
c39a9b8de9
@@ -181,6 +181,7 @@ describe('Partial image extraction', function() {
|
||||
.extract({ left: 3000, top: 10, width: 10, height: 10 })
|
||||
.toBuffer(function(err) {
|
||||
assert(err instanceof Error);
|
||||
assert.strictEqual(err.message, "extract_area: bad extract area\n");
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user