From 099cfbc58cb95b221cbbd49c6d161eae316c752d Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sat, 26 Sep 2015 15:00:51 -0700 Subject: 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 --- test/parallel/test-http-server.js | 4 ---- 1 file changed, 4 deletions(-) (limited to 'test/parallel/test-http-server.js') 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() { -- cgit v1.2.1