Browse Source

test: renamed assert.Equal to assert.strictEqual

v6
Jared Young 8 years ago
committed by Anna Henningsen
parent
commit
57f993d0f5
No known key found for this signature in database GPG Key ID: D8B9F5AEAE84E4CF
  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