diff options
author | Ruben Bridgewater <ruben@bridgewater.de> | 2019-05-01 23:52:37 +0200 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-05-05 14:44:19 -0700 |
commit | 0cd602879c5e3f6a77adc2453f98b331421b2dbb (patch) | |
tree | 096b07b6a98cf974f3fff03f608c64f0c108d16b /lib/assert.js | |
parent | 3593af00f8e2748a4e36ef425051d7d04b5e5bb0 (diff) | |
download | android-node-v8-0cd602879c5e3f6a77adc2453f98b331421b2dbb.tar.gz android-node-v8-0cd602879c5e3f6a77adc2453f98b331421b2dbb.tar.bz2 android-node-v8-0cd602879c5e3f6a77adc2453f98b331421b2dbb.zip |
assert: refine assertion message
This makes sure that the error message is more appropriate than
before by checking closer what operator is used and which is not.
It also increases the total number of lines printed to the user.
PR-URL: https://github.com/nodejs/node/pull/27525
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Diffstat (limited to 'lib/assert.js')
0 files changed, 0 insertions, 0 deletions