Tests: remove no-longer-used conditional assertions

This commit is contained in:
Lovell Fuller 2020-08-23 20:11:23 +01:00
parent b1227f526d
commit a5f4f53b56

View File

@ -161,9 +161,7 @@ describe('TIFF', function () {
.then(() => sharp(fixtures.outputTiff) .then(() => sharp(fixtures.outputTiff)
.metadata() .metadata()
.then(({ density }) => { .then(({ density }) => {
assert.strictEqual(true, assert.strictEqual(25400, density);
density === 2540 || // libvips <= 8.8.2
density === 25400); // libvips >= 8.8.3
return promisify(rimraf)(fixtures.outputTiff); return promisify(rimraf)(fixtures.outputTiff);
}) })
) )
@ -179,9 +177,7 @@ describe('TIFF', function () {
.then(data => sharp(data) .then(data => sharp(data)
.metadata() .metadata()
.then(({ density }) => { .then(({ density }) => {
assert.strictEqual(true, assert.strictEqual(25400, density);
density === 2540 || // libvips <= 8.8.2
density === 25400); // libvips >= 8.8.3
}) })
) )
); );