aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2016-10-03 20:43:41 -0700
committerRich Trott <rtrott@gmail.com>2016-10-05 21:06:36 -0700
commit5b2a8053cbe9d2a76477c3e49cc40f0d4953f3ac (patch)
treed9719921d6c7576ad78127f6347d33dda390c905
parent9def09728bf0602178aa57b23f7c4e6873e1dd35 (diff)
downloadandroid-node-v8-5b2a8053cbe9d2a76477c3e49cc40f0d4953f3ac.tar.gz
android-node-v8-5b2a8053cbe9d2a76477c3e49cc40f0d4953f3ac.tar.bz2
android-node-v8-5b2a8053cbe9d2a76477c3e49cc40f0d4953f3ac.zip
test: remove blank lines at end of files
In preparation for a lint rule that disallows empty lines at the end of a file, remove such lines from a number of test files. Refs: https://github.com/nodejs/node/issues/8918 PR-URL: https://github.com/nodejs/node/pull/8920 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ilkka Myller <ilkka.myller@nodefield.com> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
-rw-r--r--test/debugger/test-debugger-repl-utf8.js1
-rw-r--r--test/gc/test-http-client-onerror.js1
-rw-r--r--test/known_issues/test-stdout-buffer-flush-on-exit.js2
-rw-r--r--test/message/2100bytes.js1
-rw-r--r--test/parallel/test-domain-stack-empty-in-process-uncaughtexception.js1
-rw-r--r--test/parallel/test-eval-require.js1
-rw-r--r--test/parallel/test-event-emitter-special-event-names.js1
-rw-r--r--test/parallel/test-fs-chmod.js1
-rw-r--r--test/parallel/test-http-client-abort2.js1
-rw-r--r--test/parallel/test-http-client-race-2.js1
-rw-r--r--test/parallel/test-http-exceptions.js1
-rw-r--r--test/parallel/test-http-keepalive-maxsockets.js1
-rw-r--r--test/parallel/test-http-mutable-headers.js1
-rw-r--r--test/parallel/test-http-request-dont-override-options.js1
-rw-r--r--test/parallel/test-http-request-end-twice.js1
-rw-r--r--test/parallel/test-http-response-readable.js1
-rw-r--r--test/parallel/test-http-response-statuscode.js1
-rw-r--r--test/parallel/test-http-status-code.js1
-rw-r--r--test/parallel/test-listen-fd-detached-inherit.js1
-rw-r--r--test/parallel/test-listen-fd-detached.js1
-rw-r--r--test/parallel/test-net-reconnect.js1
-rw-r--r--test/parallel/test-next-tick-errors.js1
-rw-r--r--test/parallel/test-pipe-return-val.js1
-rw-r--r--test/parallel/test-pipe-stream.js1
-rw-r--r--test/parallel/test-regress-GH-1899.js1
-rw-r--r--test/parallel/test-stdin-pipe-resume.js1
-rw-r--r--test/parallel/test-stream2-pipe-error-once-listener.js1
-rw-r--r--test/parallel/test-utf8-scripts.js1
-rw-r--r--test/parallel/test-vm-create-context-circular-reference.js1
29 files changed, 0 insertions, 30 deletions
diff --git a/test/debugger/test-debugger-repl-utf8.js b/test/debugger/test-debugger-repl-utf8.js
index c32216e5d6..6654a49821 100644
--- a/test/debugger/test-debugger-repl-utf8.js
+++ b/test/debugger/test-debugger-repl-utf8.js
@@ -4,4 +4,3 @@ var script = common.fixturesDir + '/breakpoints_utf8.js';
process.env.NODE_DEBUGGER_TEST_SCRIPT = script;
require('./test-debugger-repl.js');
-
diff --git a/test/gc/test-http-client-onerror.js b/test/gc/test-http-client-onerror.js
index 28fd5765d0..a2ef0fa4be 100644
--- a/test/gc/test-http-client-onerror.js
+++ b/test/gc/test-http-client-onerror.js
@@ -76,4 +76,3 @@ function status() {
process.exit(0);
}
}
-
diff --git a/test/known_issues/test-stdout-buffer-flush-on-exit.js b/test/known_issues/test-stdout-buffer-flush-on-exit.js
index 709928693e..e966d02e32 100644
--- a/test/known_issues/test-stdout-buffer-flush-on-exit.js
+++ b/test/known_issues/test-stdout-buffer-flush-on-exit.js
@@ -23,5 +23,3 @@ if (process.argv[2] === 'child') {
assert.strictEqual(stdout, longLine, `failed with exponent ${exponent}`);
});
-
-
diff --git a/test/message/2100bytes.js b/test/message/2100bytes.js
index 0f696806be..48f5894f57 100644
--- a/test/message/2100bytes.js
+++ b/test/message/2100bytes.js
@@ -45,4 +45,3 @@ console.log([
'_____________________________________________2050',
'_____________________________________________2100'
].join('\n'));
-
diff --git a/test/parallel/test-domain-stack-empty-in-process-uncaughtexception.js b/test/parallel/test-domain-stack-empty-in-process-uncaughtexception.js
index 0eb94a6d82..8b345741ec 100644
--- a/test/parallel/test-domain-stack-empty-in-process-uncaughtexception.js
+++ b/test/parallel/test-domain-stack-empty-in-process-uncaughtexception.js
@@ -19,4 +19,3 @@ process.on('beforeExit', common.mustCall(function onBeforeExit() {
d.run(function() {
throw new Error('boom');
});
-
diff --git a/test/parallel/test-eval-require.js b/test/parallel/test-eval-require.js
index 4e2ddf42b6..208013b6d5 100644
--- a/test/parallel/test-eval-require.js
+++ b/test/parallel/test-eval-require.js
@@ -10,4 +10,3 @@ var child = spawn(process.execPath, ['-e', 'require("foo")'], options);
child.on('exit', function(code) {
assert.equal(code, 0);
});
-
diff --git a/test/parallel/test-event-emitter-special-event-names.js b/test/parallel/test-event-emitter-special-event-names.js
index fb3f1b52d9..d71d819d30 100644
--- a/test/parallel/test-event-emitter-special-event-names.js
+++ b/test/parallel/test-event-emitter-special-event-names.js
@@ -33,4 +33,3 @@ process.on('__proto__', common.mustCall(function(val) {
assert.strictEqual(val, 1);
}));
process.emit('__proto__', 1);
-
diff --git a/test/parallel/test-fs-chmod.js b/test/parallel/test-fs-chmod.js
index 954916cbdb..0e1d7898b6 100644
--- a/test/parallel/test-fs-chmod.js
+++ b/test/parallel/test-fs-chmod.js
@@ -135,4 +135,3 @@ process.on('exit', function() {
assert.equal(0, openCount);
assert.equal(false, got_error);
});
-
diff --git a/test/parallel/test-http-client-abort2.js b/test/parallel/test-http-client-abort2.js
index 9caa9d0a78..30269a193f 100644
--- a/test/parallel/test-http-client-abort2.js
+++ b/test/parallel/test-http-client-abort2.js
@@ -14,4 +14,3 @@ server.listen(0, function() {
});
});
});
-
diff --git a/test/parallel/test-http-client-race-2.js b/test/parallel/test-http-client-race-2.js
index 68f2e3fb87..632b9f4a21 100644
--- a/test/parallel/test-http-client-race-2.js
+++ b/test/parallel/test-http-client-race-2.js
@@ -87,4 +87,3 @@ process.on('exit', function() {
assert.equal(body2_s, body2);
assert.equal(body3_s, body3);
});
-
diff --git a/test/parallel/test-http-exceptions.js b/test/parallel/test-http-exceptions.js
index 51f9664e38..b995800760 100644
--- a/test/parallel/test-http-exceptions.js
+++ b/test/parallel/test-http-exceptions.js
@@ -22,4 +22,3 @@ process.on('uncaughtException', function(err) {
if (err.name === 'AssertionError') throw err;
if (++exception_count === 4) process.exit(0);
});
-
diff --git a/test/parallel/test-http-keepalive-maxsockets.js b/test/parallel/test-http-keepalive-maxsockets.js
index 613b330351..6f1476d0ce 100644
--- a/test/parallel/test-http-keepalive-maxsockets.js
+++ b/test/parallel/test-http-keepalive-maxsockets.js
@@ -84,4 +84,3 @@ server.listen(0, function() {
}, 0);
}
});
-
diff --git a/test/parallel/test-http-mutable-headers.js b/test/parallel/test-http-mutable-headers.js
index 64f9149b28..0228a4e216 100644
--- a/test/parallel/test-http-mutable-headers.js
+++ b/test/parallel/test-http-mutable-headers.js
@@ -130,4 +130,3 @@ function nextTest() {
process.on('exit', function() {
assert.equal(4, testsComplete);
});
-
diff --git a/test/parallel/test-http-request-dont-override-options.js b/test/parallel/test-http-request-dont-override-options.js
index fd7c7b4e99..5570dd49a2 100644
--- a/test/parallel/test-http-request-dont-override-options.js
+++ b/test/parallel/test-http-request-dont-override-options.js
@@ -43,4 +43,3 @@ http.createServer(function(req, res) {
assert.strictEqual(options.method, undefined);
});
}).unref();
-
diff --git a/test/parallel/test-http-request-end-twice.js b/test/parallel/test-http-request-end-twice.js
index fe08ae2d48..230175be8e 100644
--- a/test/parallel/test-http-request-end-twice.js
+++ b/test/parallel/test-http-request-end-twice.js
@@ -16,4 +16,3 @@ server.listen(0, function() {
res.resume();
});
});
-
diff --git a/test/parallel/test-http-response-readable.js b/test/parallel/test-http-response-readable.js
index 9b4ab08fa5..1d561ca470 100644
--- a/test/parallel/test-http-response-readable.js
+++ b/test/parallel/test-http-response-readable.js
@@ -18,4 +18,3 @@ testServer.listen(0, function() {
res.resume();
});
});
-
diff --git a/test/parallel/test-http-response-statuscode.js b/test/parallel/test-http-response-statuscode.js
index 43bf3aebff..3314506339 100644
--- a/test/parallel/test-http-response-statuscode.js
+++ b/test/parallel/test-http-response-statuscode.js
@@ -89,4 +89,3 @@ server.on('listening', function makeRequest() {
res.resume();
});
});
-
diff --git a/test/parallel/test-http-status-code.js b/test/parallel/test-http-status-code.js
index 9e78b5575b..c0086a3e3d 100644
--- a/test/parallel/test-http-status-code.js
+++ b/test/parallel/test-http-status-code.js
@@ -44,4 +44,3 @@ function nextTest() {
process.on('exit', function() {
assert.equal(5, testsComplete);
});
-
diff --git a/test/parallel/test-listen-fd-detached-inherit.js b/test/parallel/test-listen-fd-detached-inherit.js
index 8469a6132d..5dfe346a49 100644
--- a/test/parallel/test-listen-fd-detached-inherit.js
+++ b/test/parallel/test-listen-fd-detached-inherit.js
@@ -95,4 +95,3 @@ function child() {
console.error('child listening on fd=3');
});
}
-
diff --git a/test/parallel/test-listen-fd-detached.js b/test/parallel/test-listen-fd-detached.js
index 6bbf604571..0629f7ea79 100644
--- a/test/parallel/test-listen-fd-detached.js
+++ b/test/parallel/test-listen-fd-detached.js
@@ -93,4 +93,3 @@ function child() {
console.error('child listening on fd=3');
});
}
-
diff --git a/test/parallel/test-net-reconnect.js b/test/parallel/test-net-reconnect.js
index 519bf09bc7..980de2637b 100644
--- a/test/parallel/test-net-reconnect.js
+++ b/test/parallel/test-net-reconnect.js
@@ -65,4 +65,3 @@ process.on('exit', function() {
assert.equal(N + 1, client_recv_count);
assert.equal(N + 1, client_end_count);
});
-
diff --git a/test/parallel/test-next-tick-errors.js b/test/parallel/test-next-tick-errors.js
index 3439aa8699..180b769eaa 100644
--- a/test/parallel/test-next-tick-errors.js
+++ b/test/parallel/test-next-tick-errors.js
@@ -49,4 +49,3 @@ process.on('uncaughtException', function() {
process.on('exit', function() {
assert.deepStrictEqual(['A', 'B', 'C'], order);
});
-
diff --git a/test/parallel/test-pipe-return-val.js b/test/parallel/test-pipe-return-val.js
index eab5db8f70..a14f925916 100644
--- a/test/parallel/test-pipe-return-val.js
+++ b/test/parallel/test-pipe-return-val.js
@@ -10,4 +10,3 @@ var destStream = new Stream();
var result = sourceStream.pipe(destStream);
assert.strictEqual(result, destStream);
-
diff --git a/test/parallel/test-pipe-stream.js b/test/parallel/test-pipe-stream.js
index 693066c2fb..6298495087 100644
--- a/test/parallel/test-pipe-stream.js
+++ b/test/parallel/test-pipe-stream.js
@@ -65,4 +65,3 @@ function test(clazz, cb) {
test(net.Stream, function() {
test(net.Socket);
});
-
diff --git a/test/parallel/test-regress-GH-1899.js b/test/parallel/test-regress-GH-1899.js
index 37fdd34bde..7ce83e0009 100644
--- a/test/parallel/test-regress-GH-1899.js
+++ b/test/parallel/test-regress-GH-1899.js
@@ -17,4 +17,3 @@ child.on('exit', function(code, signal) {
assert.equal(code, 0);
assert.equal(output, 'hello, world!\n');
});
-
diff --git a/test/parallel/test-stdin-pipe-resume.js b/test/parallel/test-stdin-pipe-resume.js
index cd409a1d23..cb28807045 100644
--- a/test/parallel/test-stdin-pipe-resume.js
+++ b/test/parallel/test-stdin-pipe-resume.js
@@ -25,4 +25,3 @@ if (process.argv[2] === 'child') {
child.stdin.end();
}, 10);
}
-
diff --git a/test/parallel/test-stream2-pipe-error-once-listener.js b/test/parallel/test-stream2-pipe-error-once-listener.js
index d046c5ea55..c9cfd1d1c8 100644
--- a/test/parallel/test-stream2-pipe-error-once-listener.js
+++ b/test/parallel/test-stream2-pipe-error-once-listener.js
@@ -39,4 +39,3 @@ process.on('exit', function(c) {
});
read.pipe(write);
-
diff --git a/test/parallel/test-utf8-scripts.js b/test/parallel/test-utf8-scripts.js
index a9db5d10e4..98c26594bb 100644
--- a/test/parallel/test-utf8-scripts.js
+++ b/test/parallel/test-utf8-scripts.js
@@ -7,4 +7,3 @@ var assert = require('assert');
console.log('Σὲ γνωρίζω ἀπὸ τὴν κόψη');
assert.equal(true, /Hellö Wörld/.test('Hellö Wörld'));
-
diff --git a/test/parallel/test-vm-create-context-circular-reference.js b/test/parallel/test-vm-create-context-circular-reference.js
index 851bebdb08..248ef24f69 100644
--- a/test/parallel/test-vm-create-context-circular-reference.js
+++ b/test/parallel/test-vm-create-context-circular-reference.js
@@ -11,4 +11,3 @@ sbx = vm.createContext(sbx);
sbx.test = 123;
assert.equal(sbx.window.window.window.window.window.test, 123);
-