From: Chris Duncan Date: Sat, 29 Aug 2026 21:30:36 +0000 (-0700) Subject: Avoid logging long message string vectors too. X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=f26b278d0f295814379540291b9b28f0dd5e035a;p=nano25519.git Avoid logging long message string vectors too. --- diff --git a/test/node.mjs b/test/node.mjs index 9d95f0c..f26e4b5 100644 --- a/test/node.mjs +++ b/test/node.mjs @@ -330,7 +330,7 @@ for (const { privateKey, publicKey, message, signature } of PYTHON_ED25519_BLAKE result = sign(message, privateKey, publicKey) test = result.toLowerCase() === signature.slice(0, 128) - check(`sign message string ${message}`, test) + check(`sign message string length ${message.length >> 1} bytes`, test) passes += +test failures += +!test