diff --git a/test/general/openpgp.js b/test/general/openpgp.js index fb151e09..36199f97 100644 --- a/test/general/openpgp.js +++ b/test/general/openpgp.js @@ -1207,10 +1207,10 @@ describe('OpenPGP.js public api tests', function() { data: new Uint8Array([0x01, 0x01, 0x01]), passwords: null }) - .then(function () { + .then(function() { done(new Error('Error expected.')); }) - .catch(function(error){ + .catch(function(error) { expect(error.innerError).to.exist; done(); });