fix
This commit is contained in:
parent
fedc497b97
commit
9fb7353e08
@ -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);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user