diff options
author | Minwoo Jung <jmwsoft@gmail.com> | 2015-11-17 17:59:30 +0900 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2015-11-20 09:24:53 -0800 |
commit | d01eb6882fcc1fcb1cfc01b7e474ab2b0e80b73c (patch) | |
tree | 19ec7adaef4125d794eb2ac629f5d1f61abeff10 /test/sequential/test-deprecation-flags.js | |
parent | ca2e8b292f0288d90e4e8c546adb459e2ab4eecd (diff) | |
download | android-node-v8-d01eb6882fcc1fcb1cfc01b7e474ab2b0e80b73c.tar.gz android-node-v8-d01eb6882fcc1fcb1cfc01b7e474ab2b0e80b73c.tar.bz2 android-node-v8-d01eb6882fcc1fcb1cfc01b7e474ab2b0e80b73c.zip |
lib: add 'pid' prefix in `internal/util`
This PR improves `prefix` in `util` that we've agreed on
https://github.com/nodejs/node/pull/3833
(separate code for javascript to move the printing function
to C++ directly)
PR-URL: https://github.com/nodejs/node/pull/3878
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Michaƫl Zasso <mic.besace@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/sequential/test-deprecation-flags.js')
-rw-r--r-- | test/sequential/test-deprecation-flags.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/sequential/test-deprecation-flags.js b/test/sequential/test-deprecation-flags.js index a243cc44f2..543e368466 100644 --- a/test/sequential/test-deprecation-flags.js +++ b/test/sequential/test-deprecation-flags.js @@ -16,8 +16,7 @@ execFile(node, normal, function(er, stdout, stderr) { console.error('normal: show deprecation warning'); assert.equal(er, null); assert.equal(stdout, ''); - assert.equal(stderr, '(node) util.debug is deprecated. Use console.error ' + - 'instead.\nDEBUG: This is deprecated\n'); + assert(/util\.debug is deprecated/.test(stderr)); console.log('normal ok'); }); |