Update test expectations/thresholds previously failing on OS X.

Remove Node v5 from CI builds.
This commit is contained in:
Lovell Fuller 2016-06-14 21:52:04 +01:00
parent d486eaad03
commit f1ead06645
5 changed files with 1 additions and 3 deletions

View File

@ -3,7 +3,6 @@ node_js:
- "0.10"
- "0.12"
- "4"
- "5"
- "6"
os:
- linux

View File

@ -7,7 +7,6 @@ environment:
matrix:
- nodejs_version: "0.12"
- nodejs_version: "4"
- nodejs_version: "5"
- nodejs_version: "6"
install:
- ps: Install-Product node $env:nodejs_version x64

Binary file not shown.

Before

Width:  |  Height:  |  Size: 348 B

After

Width:  |  Height:  |  Size: 329 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 621 B

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -14,7 +14,7 @@ describe('Partial image extraction', function() {
if (err) throw err;
assert.strictEqual(20, info.width);
assert.strictEqual(20, info.height);
fixtures.assertSimilar(fixtures.expected('extract.jpg'), data, done);
fixtures.assertSimilar(fixtures.expected('extract.jpg'), data, { threshold: 8 }, done);
});
});