summaryrefslogtreecommitdiff
path: root/CPP_STYLE_GUIDE.md
diff options
context:
space:
mode:
authorRuben Bridgewater <ruben@bridgewater.de>2019-12-02 13:02:48 +0100
committerRuben Bridgewater <ruben@bridgewater.de>2019-12-07 00:40:53 +0100
commitb4d48c05167f27f0b1e6d7d8432ea3ffb05014a6 (patch)
tree902f98e88f65c689aa5b81f42d61315bae1cd14d /CPP_STYLE_GUIDE.md
parente11b909097e44a7acc77cf5f6e8be3016d3d4f6f (diff)
downloadandroid-node-v8-b4d48c05167f27f0b1e6d7d8432ea3ffb05014a6.tar.gz
android-node-v8-b4d48c05167f27f0b1e6d7d8432ea3ffb05014a6.tar.bz2
android-node-v8-b4d48c05167f27f0b1e6d7d8432ea3ffb05014a6.zip
assert,util: stricter type comparison using deep equal comparisons
This veryfies that both input arguments are always of the identical type. It was possible to miss a few cases before. This change applies to all deep equal assert functions (e.g., `assert.deepStrictEqual()`) and to `util.isDeepStrictEqual()`. PR-URL: https://github.com/nodejs/node/pull/30764 Refs: https://github.com/nodejs/node/pull/30743 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'CPP_STYLE_GUIDE.md')
0 files changed, 0 insertions, 0 deletions