Browse Source

Fix of 'sys.common.debug' calls in tests.

v0.7.4-release
Herbert Vojčík 15 years ago
committed by Ryan Dahl
parent
commit
32e309440f
  1. 4
      test/disabled/test-http-big-proxy-responses.js
  2. 2
      test/disabled/tls_client.js
  3. 2
      test/simple/test-sendfd.js

4
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);
});

2
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 () {

2
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);
}
});
};

Loading…
Cancel
Save