This commit is contained in:
Timo Hocker 2020-03-05 10:25:33 +01:00
parent fedc497b97
commit 9fb7353e08

View File

@ -25,7 +25,7 @@ test ('fail decryption', (t) => {
test ('rethrow decryption', (t) => { test ('rethrow decryption', (t) => {
const enc = crypto.encrypt_aes ('foo', 'bar'); const enc = crypto.encrypt_aes ('foo', 'bar');
t.throws (() => { t.throws (() => {
const dec = crypto.decrypt_aes (enc, 'baz', true); crypto.decrypt_aes (enc, 'baz', true);
}); });
}); });