diff options
author | Ruben Bridgewater <ruben@bridgewater.de> | 2018-09-25 11:17:30 +0200 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2018-09-27 13:25:18 +0200 |
commit | b8a8eedf3280f3825812d3f8f0554a186396c9dc (patch) | |
tree | 95b1a909a0b2d01267ae72e380d991c0432b9f6d /test/parallel/test-assert-deep.js | |
parent | be26c761146db8357653df345e505a624b2153da (diff) | |
download | android-node-v8-b8a8eedf3280f3825812d3f8f0554a186396c9dc.tar.gz android-node-v8-b8a8eedf3280f3825812d3f8f0554a186396c9dc.tar.bz2 android-node-v8-b8a8eedf3280f3825812d3f8f0554a186396c9dc.zip |
assert: switch `inputs` to `values`
The wording seems clearer when using `values` instead of `inputs`.
PR-URL: https://github.com/nodejs/node/pull/23056
Refs: https://github.com/nodejs/node/issues/22763
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'test/parallel/test-assert-deep.js')
-rw-r--r-- | test/parallel/test-assert-deep.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-assert-deep.js b/test/parallel/test-assert-deep.js index fab681a89f..306e8367d4 100644 --- a/test/parallel/test-assert-deep.js +++ b/test/parallel/test-assert-deep.js @@ -4,7 +4,7 @@ require('../common'); const assert = require('assert'); const util = require('util'); const { AssertionError } = assert; -const defaultMsgStart = 'Expected inputs to be strictly deep-equal:\n'; +const defaultMsgStart = 'Expected values to be strictly deep-equal:\n'; const defaultMsgStartFull = `${defaultMsgStart}+ actual - expected`; // Disable colored output to prevent color codes from breaking assertion @@ -16,7 +16,7 @@ if (process.stdout.isTTY) // Template tag function turning an error message into a RegExp // for assert.throws() function re(literals, ...values) { - let result = 'Expected inputs to be loosely deep-equal:\n\n'; + let result = 'Expected values to be loosely deep-equal:\n\n'; for (const [i, value] of values.entries()) { const str = util.inspect(value, { compact: false, |