diff options
author | Rich Trott <rtrott@gmail.com> | 2015-09-26 15:00:51 -0700 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2015-10-07 11:13:38 -0700 |
commit | 099cfbc58cb95b221cbbd49c6d161eae316c752d (patch) | |
tree | dab846bbcef89323ca1e3adb2fd05db383e935b9 /test/parallel/test-http-server.js | |
parent | a334ddc467af6bfb3a93245a7e6f571c8dd01fa2 (diff) | |
download | node-new-099cfbc58cb95b221cbbd49c6d161eae316c752d.tar.gz |
test: remove deprecated error logging
common.error() is just deprecated util.error() renamed.
Remove calls to it and some other extraneous console logging
in tests.
PR-URL: https://github.com/nodejs/node/pull/3079
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'test/parallel/test-http-server.js')
-rw-r--r-- | test/parallel/test-http-server.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/parallel/test-http-server.js b/test/parallel/test-http-server.js index 9ba13ddf96..b33c19a076 100644 --- a/test/parallel/test-http-server.js +++ b/test/parallel/test-http-server.js @@ -23,21 +23,17 @@ var server = http.createServer(function(req, res) { } if (req.id == 1) { - common.error('req 1'); assert.equal('POST', req.method); assert.equal('/quit', url.parse(req.url).pathname); } if (req.id == 2) { - common.error('req 2'); assert.equal('foo', req.headers['x-x']); } if (req.id == 3) { - common.error('req 3'); assert.equal('bar', req.headers['x-x']); this.close(); - common.error('server closed'); } setTimeout(function() { |