summaryrefslogtreecommitdiff
path: root/test/pummel/test-net-pause.js
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2015-09-26 16:16:35 -0700
committerRich Trott <rtrott@gmail.com>2015-09-28 13:21:15 -0700
commit306936e98fa6c06b52095f5a369a03c6e722b285 (patch)
treef845b6f9fea7697d92cd376e07e85578bee04f5c /test/pummel/test-net-pause.js
parent44efd66132f9f9058d7ead0547d9ab2d3e06b528 (diff)
downloadandroid-node-v8-306936e98fa6c06b52095f5a369a03c6e722b285.tar.gz
android-node-v8-306936e98fa6c06b52095f5a369a03c6e722b285.tar.bz2
android-node-v8-306936e98fa6c06b52095f5a369a03c6e722b285.zip
test: change calls to deprecated util.print()
common.print() is just util.print() and as such prints a deprecation warning. Per docs, update to console.log(). PR-URL: https://github.com/nodejs/node/pull/3083 Reviewed-By: Michaƫl Zasso <mic.besace@gmail.com> Reviewed-By: Brendan Ashworth <brendan.ashworth@me.com>
Diffstat (limited to 'test/pummel/test-net-pause.js')
-rw-r--r--test/pummel/test-net-pause.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pummel/test-net-pause.js b/test/pummel/test-net-pause.js
index 71a3e17c12..b0c5126043 100644
--- a/test/pummel/test-net-pause.js
+++ b/test/pummel/test-net-pause.js
@@ -24,7 +24,7 @@ server.on('listening', function() {
var client = net.createConnection(common.PORT);
client.setEncoding('ascii');
client.on('data', function(d) {
- common.print(d);
+ console.log(d);
recv += d;
});