summaryrefslogtreecommitdiff
path: root/src/node_crypto.h
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2019-07-23 20:38:53 +0200
committerRich Trott <rtrott@gmail.com>2019-07-25 22:36:29 -0700
commit64e4b0c0ac5073e6606b1ccd79a464f2c5925741 (patch)
treedb75e24484e4161ce7440b12df68b7c0494f1b9e /src/node_crypto.h
parent48e13d2adfa9b3b315a80aac16100b56aef94e4a (diff)
downloadandroid-node-v8-64e4b0c0ac5073e6606b1ccd79a464f2c5925741.tar.gz
android-node-v8-64e4b0c0ac5073e6606b1ccd79a464f2c5925741.tar.bz2
android-node-v8-64e4b0c0ac5073e6606b1ccd79a464f2c5925741.zip
assert: avoid potentially misleading reference to object identity
Often, the word “identical” when referring to JS objects will be read as referring to having the same object identity (which is called “reference equality” here), but what the error message is trying to say here is that the objects are different but yield the same `util.inspect()` output. Since `util.inspect()` output represents the structure rather than the identity of objects, (hopefully) clarify the error message to reflect that. PR-URL: https://github.com/nodejs/node/pull/28824 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'src/node_crypto.h')
0 files changed, 0 insertions, 0 deletions