diff options
author | Herbert Vojčík <herby@mailbox.sk> | 2010-08-17 12:59:36 +0200 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-08-17 08:08:36 -0700 |
commit | 32e309440f1819d8c1e1ee0a91dc853b587da82d (patch) | |
tree | 947a9da401b45c925e95151fb057690c2360aa20 /test | |
parent | 6744e59e461cc200a1c135c99450b2800c21b5e9 (diff) | |
download | node-new-32e309440f1819d8c1e1ee0a91dc853b587da82d.tar.gz |
Fix of 'sys.common.debug' calls in tests.
Diffstat (limited to 'test')
-rw-r--r-- | test/disabled/test-http-big-proxy-responses.js | 4 | ||||
-rw-r--r-- | test/disabled/tls_client.js | 2 | ||||
-rw-r--r-- | test/simple/test-sendfd.js | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/test/disabled/test-http-big-proxy-responses.js b/test/disabled/test-http-big-proxy-responses.js index b5cba80cfa..d569b76d40 100644 --- a/test/disabled/test-http-big-proxy-responses.js +++ b/test/disabled/test-http-big-proxy-responses.js @@ -64,7 +64,7 @@ function call_chargen(list) { if (list.length > 0) { var len = list.shift(); - sys.common.debug("calling chargen for " + len + " chunks."); + common.debug("calling chargen for " + len + " chunks."); var recved = 0; @@ -79,7 +79,7 @@ function call_chargen(list) { res.addListener('end', function() { assert.ok(recved <= (len*chunk.length)); - sys.common.debug("end for " + len + " chunks."); + common.debug("end for " + len + " chunks."); call_chargen(list); }); diff --git a/test/disabled/tls_client.js b/test/disabled/tls_client.js index 9ade5595be..e6ac70cc0e 100644 --- a/test/disabled/tls_client.js +++ b/test/disabled/tls_client.js @@ -28,7 +28,7 @@ client.addListener("secure", function () { }); client.addListener("data", function (chunk) { - sys.common.error(chunk); + common.error(chunk); }); client.addListener("end", function () { diff --git a/test/simple/test-sendfd.js b/test/simple/test-sendfd.js index 52dd622fbe..20d0f9273c 100644 --- a/test/simple/test-sendfd.js +++ b/test/simple/test-sendfd.js @@ -54,7 +54,7 @@ var logChild = function(d) { d.split('\n').forEach(function(l) { if (l.length > 0) { - sys.common.debug('CHILD: ' + l); + common.debug('CHILD: ' + l); } }); }; |