Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmillr committed Jul 18, 2023
1 parent 664e9fd commit 2caeefc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/basic.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ should('tweetnacl secretbox compat', () => {
const c = xsalsa20poly1305(key, nonce);
deepStrictEqual(hex.encode(c.encrypt(msg)), hex.encode(exp), i);
deepStrictEqual(hex.encode(c.decrypt(exp)), hex.encode(msg), i);
const cSlow = slow.xsalsa20_poly1305(key, nonce);
const cSlow = slow.xsalsa20poly1305(key, nonce);
deepStrictEqual(hex.encode(cSlow.encrypt(msg)), hex.encode(exp), i);
deepStrictEqual(hex.encode(cSlow.decrypt(exp)), hex.encode(msg), i);
}
Expand Down

0 comments on commit 2caeefc

Please sign in to comment.