diff --git a/test/parallel/test-crypto-hmac.js b/test/parallel/test-crypto-hmac.js index 92fa16f98cda44..0597891e0041a7 100644 --- a/test/parallel/test-crypto-hmac.js +++ b/test/parallel/test-crypto-hmac.js @@ -269,7 +269,12 @@ for (let i = 0, l = rfc4231.length; i < l; i++) { expected, `Test HMAC-${hash} rfc 4231 case ${i + 1}: ${actual} must be ${expected}` ); - assert.strictEqual(actual, strRes, 'Should get same result from stream'); + assert.strictEqual( + actual, + strRes, + `Should get same result from stream (hash: ${hash} and case: ${i + 1})` + + ` => ${actual} must be ${strRes}` + ); } }