Tests: skip empty Buffer test when *magick supported

This commit is contained in:
Lovell Fuller 2020-06-04 20:07:30 +01:00
parent 25b964e3df
commit ac4070cb49

View File

@ -302,7 +302,7 @@ describe('Input/output', function () {
});
it('Fail when input is empty Buffer', function (done) {
if (process.platform === 'freebsd') return this.skip(); // can be removed with libvips 8.10.0+
if (sharp.format.magick.input.buffer) return this.skip(); // can be removed with libvips 8.10.0+
sharp(Buffer.alloc(0)).toBuffer().then(function () {
assert(false);
done();