Skip to content

Commit

Permalink
Fix test case in test-classic-kem.js
Browse files Browse the repository at this point in the history
  • Loading branch information
tniessen committed Dec 1, 2024
1 parent 7aa6117 commit b7cbfb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test-classic-kem.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ for (const algorithm of KEM.supportedAlgorithms) {

st.ok(isUint32(kem.privateKeySize),
'privateKeySize should be an unsigned integer');
st.throws(() => kem.publicKeySize = kem.publicKeySize,
st.throws(() => kem.privateKeySize = kem.privateKeySize,
'privateKeySize should not be writable');
});

Expand Down

0 comments on commit b7cbfb4

Please sign in to comment.