Skip to content

Commit

Permalink
Tests: remove no-longer-used conditional assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
lovell committed Aug 23, 2020
1 parent b1227f5 commit a5f4f53
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions test/unit/tiff.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,7 @@ describe('TIFF', function () {
.then(() => sharp(fixtures.outputTiff)
.metadata()
.then(({ density }) => {
assert.strictEqual(true,
density === 2540 || // libvips <= 8.8.2
density === 25400); // libvips >= 8.8.3
assert.strictEqual(25400, density);
return promisify(rimraf)(fixtures.outputTiff);
})
)
Expand All @@ -179,9 +177,7 @@ describe('TIFF', function () {
.then(data => sharp(data)
.metadata()
.then(({ density }) => {
assert.strictEqual(true,
density === 2540 || // libvips <= 8.8.2
density === 25400); // libvips >= 8.8.3
assert.strictEqual(25400, density);
})
)
);
Expand Down

0 comments on commit a5f4f53

Please sign in to comment.