mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
test: renamed assert.Equal to assert.strictEqual
This commit is contained in:
1 parent
9d037cfa44
commit
d7988e0355
1 file changed
+1
-1
@@ -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/);
|
||||
|
||||
Reference in new issue
Block a user