improper deepStrictEqual implementation

This commit is contained in:
Johannes Rieken 2020-02-05 09:16:01 +01:00
parent 643121a20a
commit ce1bb2220a

View file

@ -468,7 +468,10 @@ assert.doesNotThrow = function(block, /*optional*/message) {
_throws.apply(this, [false].concat(pSlice.call(arguments)));
};
assert.ifError = function(err) { if (err) {throw err;}};
// VSCODE-CHANGE, todo@joh this isn't correct!!
assert.deepStrictEqual = assert.deepEqual;
assert.ifError = function (err) { if (err) { throw err; } };
return assert;
});