diff options
author | Scott McKenzie <slammayjammay@gmail.com> | 2017-02-14 19:58:49 -0800 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2017-06-13 08:44:22 -0700 |
commit | 7f3f72c19b6a0b23394e32a52c1c34b9d59028a7 (patch) | |
tree | b6324f5175ed80bea3899b9a2fdcbe1ba88c5eeb /test/parallel/test-readline-csi.js | |
parent | 224dbb12332db99702be64f4e43b3b0d1e8dea58 (diff) | |
download | android-node-v8-7f3f72c19b6a0b23394e32a52c1c34b9d59028a7.tar.gz android-node-v8-7f3f72c19b6a0b23394e32a52c1c34b9d59028a7.tar.bz2 android-node-v8-7f3f72c19b6a0b23394e32a52c1c34b9d59028a7.zip |
errors, readline: migrate to use internal/errors.js
PR-URL: https://github.com/nodejs/node/pull/11390
Ref: https://github.com/nodejs/node/issues/11273
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'test/parallel/test-readline-csi.js')
-rw-r--r-- | test/parallel/test-readline-csi.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/parallel/test-readline-csi.js b/test/parallel/test-readline-csi.js index bde37138e3..d839487643 100644 --- a/test/parallel/test-readline-csi.js +++ b/test/parallel/test-readline-csi.js @@ -77,7 +77,8 @@ assert.throws( () => readline.cursorTo(writable, 'a', 1), common.expectsError({ type: Error, - message: /^Can't set cursor row without also setting it's column$/ + code: 'ERR_INVALID_CURSOR_POS', + message: 'Cannot set cursor row without setting its column' })); assert.strictEqual(writable.data, ''); |