From: Chris Duncan Date: Sat, 29 Aug 2026 21:28:07 +0000 (-0700) Subject: Avoid logging entire long message when testing. X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=22458bebb4c18f086e4a490bf18ca6f3f10578ea;p=nano25519.git Avoid logging entire long message when testing. --- diff --git a/test/node.mjs b/test/node.mjs index bad4e11..9d95f0c 100644 --- a/test/node.mjs +++ b/test/node.mjs @@ -353,7 +353,7 @@ for (const { privateKey, publicKey, message, signature } of PYTHON_ED25519_BLAKE result = sign(messageBytes, privateKeyBytes, publicKeyBytes) test = [...result].map(b => b.toString(16).padStart(2, '0')).join('').toLowerCase() === signature.slice(0, 128) - check(`sign message bytes ${message}`, test) + check(`sign message bytes length ${messageBytes.byteLength}`, test) passes += +test failures += +!test