Skip to content

Commit

Permalink
Update expected test fixtures that were failing on OS X
Browse files Browse the repository at this point in the history
  • Loading branch information
lovell committed Jun 14, 2016
1 parent d486eaa commit 122f67d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file modified test/fixtures/expected/extract.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/fixtures/expected/gamma-0.0.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion test/unit/extract.js
Expand Up @@ -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);
});
});

Expand Down

0 comments on commit 122f67d

Please sign in to comment.