summaryrefslogtreecommitdiff
path: root/test/parallel/test-http-exceptions.js
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2016-04-17 23:41:59 -0700
committerJames M Snell <jasnell@gmail.com>2016-04-20 08:38:41 -0700
commit4faaed69fa372f9a5daf11ef127c3ad2c8c9e93c (patch)
tree42a8eba7222c65f99beb89a56d93a20a48e97fe6 /test/parallel/test-http-exceptions.js
parent8ede3d500254d887e08383f38f1b8732a508819f (diff)
downloadandroid-node-v8-4faaed69fa372f9a5daf11ef127c3ad2c8c9e93c.tar.gz
android-node-v8-4faaed69fa372f9a5daf11ef127c3ad2c8c9e93c.tar.bz2
android-node-v8-4faaed69fa372f9a5daf11ef127c3ad2c8c9e93c.zip
test,tools: enable linting for undefined vars
The test directory had linting for undefined variables disabled. It is enabled everywhere else in the code base. Let's disable the fule for individual lines in the handful of tests that use undefined variables. PR-URL: https://github.com/nodejs/node/pull/6255 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>
Diffstat (limited to 'test/parallel/test-http-exceptions.js')
-rw-r--r--test/parallel/test-http-exceptions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-http-exceptions.js b/test/parallel/test-http-exceptions.js
index 922dc20957..b01d31e030 100644
--- a/test/parallel/test-http-exceptions.js
+++ b/test/parallel/test-http-exceptions.js
@@ -3,7 +3,7 @@ var common = require('../common');
var http = require('http');
var server = http.createServer(function(req, res) {
- intentionally_not_defined();
+ intentionally_not_defined(); // eslint-disable-line no-undef
res.writeHead(200, {'Content-Type': 'text/plain'});
res.write('Thank you, come again.');
res.end();