Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix of 'sys.common.debug' calls in tests.
  • Loading branch information
Herbert Vojčík authored and ry committed Aug 17, 2010
1 parent 6744e59 commit 32e3094
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/disabled/test-http-big-proxy-responses.js
Expand Up @@ -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;

Expand All @@ -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);
});

Expand Down
2 changes: 1 addition & 1 deletion test/disabled/tls_client.js
Expand Up @@ -28,7 +28,7 @@ client.addListener("secure", function () {
});

client.addListener("data", function (chunk) {
sys.common.error(chunk);
common.error(chunk);
});

client.addListener("end", function () {
Expand Down
2 changes: 1 addition & 1 deletion test/simple/test-sendfd.js
Expand Up @@ -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);
}
});
};
Expand Down

0 comments on commit 32e3094

Please sign in to comment.