diff --git a/test/encryption.js b/test/encryption.js index af0e2ad..d283fd0 100644 --- a/test/encryption.js +++ b/test/encryption.js @@ -25,7 +25,7 @@ test ('fail decryption', (t) => { test ('rethrow decryption', (t) => { const enc = crypto.encrypt_aes ('foo', 'bar'); t.throws (() => { - const dec = crypto.decrypt_aes (enc, 'baz', true); + crypto.decrypt_aes (enc, 'baz', true); }); });