mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Switch from custom trim op to vips_find_trim #914
This commit is contained in:
@@ -50,7 +50,7 @@ describe('Trim borders', function () {
|
||||
});
|
||||
|
||||
describe('Invalid thresholds', function () {
|
||||
[-1, 100, 'fail', {}].forEach(function (threshold) {
|
||||
[-1, 'fail', {}].forEach(function (threshold) {
|
||||
it(JSON.stringify(threshold), function () {
|
||||
assert.throws(function () {
|
||||
sharp().trim(threshold);
|
||||
|
||||
Reference in New Issue
Block a user