Update semistandard linter to latest

This commit is contained in:
Lovell Fuller
2018-11-11 18:05:40 +00:00
parent 1c4f6f75f3
commit 03394556b5
11 changed files with 55 additions and 55 deletions

View File

@@ -449,12 +449,12 @@ describe('Image metadata', function () {
describe('Invalid withMetadata parameters', function () {
it('String orientation', function () {
assert.throws(function () {
sharp().withMetadata({orientation: 'zoinks'});
sharp().withMetadata({ orientation: 'zoinks' });
});
});
it('Negative orientation', function () {
assert.throws(function () {
sharp().withMetadata({orientation: -1});
sharp().withMetadata({ orientation: -1 });
});
});
it('Zero orientation', function () {
@@ -464,7 +464,7 @@ describe('Image metadata', function () {
});
it('Too large orientation', function () {
assert.throws(function () {
sharp().withMetadata({orientation: 9});
sharp().withMetadata({ orientation: 9 });
});
});
});