Skip to content

Commit

Permalink
test: renamed assert.Equal to assert.strictEqual
Browse files Browse the repository at this point in the history
  • Loading branch information
triscuitoraus authored and addaleax committed Dec 8, 2016
1 parent fd6999e commit 57f993d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-crypto-authenticated.js
Original file line number Diff line number Diff line change
Expand Up @@ -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/);
Expand Down

2 comments on commit 57f993d

@cjihrig
Copy link
Contributor

@cjihrig cjihrig commented on 57f993d Dec 8, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@addaleax, missing metadata?

@addaleax
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

eek, yes… thanks for pointing that out.
PR-URL: #10028
Reviewed-By: @jasnell
Reviewed-By: @addaleax
Reviewed-By: @cjihrig

Please sign in to comment.