Browse Source

test: renamed assert.Equal to assert.strictEqual

v6.x
Jared Young 8 years ago
committed by Myles Borins
parent
commit
1bbf143898
  1. 2
      test/parallel/test-crypto-authenticated.js

2
test/parallel/test-crypto-authenticated.js

@ -352,7 +352,7 @@ for (const i in TEST_CASES) {
let msg = decrypt.update(test.ct, 'hex', outputEncoding);
if (!test.tampered) {
msg += decrypt.final(outputEncoding);
assert.equal(msg, test.plain);
assert.strictEqual(msg, test.plain);
} else {
// assert that final throws if input data could not be verified!
assert.throws(function() { decrypt.final('ascii'); }, / auth/);

Loading…
Cancel
Save