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>
This commit is contained in:
Rich Trott 2016-10-03 20:43:41 -07:00
parent 9def09728b
commit 5b2a8053cb
29 changed files with 0 additions and 30 deletions

View File

@ -4,4 +4,3 @@ var script = common.fixturesDir + '/breakpoints_utf8.js';
process.env.NODE_DEBUGGER_TEST_SCRIPT = script;
require('./test-debugger-repl.js');

View File

@ -76,4 +76,3 @@ function status() {
process.exit(0);
}
}

View File

@ -23,5 +23,3 @@ if (process.argv[2] === 'child') {
assert.strictEqual(stdout, longLine, `failed with exponent ${exponent}`);
});

View File

@ -45,4 +45,3 @@ console.log([
'_____________________________________________2050',
'_____________________________________________2100'
].join('\n'));

View File

@ -19,4 +19,3 @@ process.on('beforeExit', common.mustCall(function onBeforeExit() {
d.run(function() {
throw new Error('boom');
});

View File

@ -10,4 +10,3 @@ var child = spawn(process.execPath, ['-e', 'require("foo")'], options);
child.on('exit', function(code) {
assert.equal(code, 0);
});

View File

@ -33,4 +33,3 @@ process.on('__proto__', common.mustCall(function(val) {
assert.strictEqual(val, 1);
}));
process.emit('__proto__', 1);

View File

@ -135,4 +135,3 @@ process.on('exit', function() {
assert.equal(0, openCount);
assert.equal(false, got_error);
});

View File

@ -14,4 +14,3 @@ server.listen(0, function() {
});
});
});

View File

@ -87,4 +87,3 @@ process.on('exit', function() {
assert.equal(body2_s, body2);
assert.equal(body3_s, body3);
});

View File

@ -22,4 +22,3 @@ process.on('uncaughtException', function(err) {
if (err.name === 'AssertionError') throw err;
if (++exception_count === 4) process.exit(0);
});

View File

@ -84,4 +84,3 @@ server.listen(0, function() {
}, 0);
}
});

View File

@ -130,4 +130,3 @@ function nextTest() {
process.on('exit', function() {
assert.equal(4, testsComplete);
});

View File

@ -43,4 +43,3 @@ http.createServer(function(req, res) {
assert.strictEqual(options.method, undefined);
});
}).unref();

View File

@ -16,4 +16,3 @@ server.listen(0, function() {
res.resume();
});
});

View File

@ -18,4 +18,3 @@ testServer.listen(0, function() {
res.resume();
});
});

View File

@ -89,4 +89,3 @@ server.on('listening', function makeRequest() {
res.resume();
});
});

View File

@ -44,4 +44,3 @@ function nextTest() {
process.on('exit', function() {
assert.equal(5, testsComplete);
});

View File

@ -95,4 +95,3 @@ function child() {
console.error('child listening on fd=3');
});
}

View File

@ -93,4 +93,3 @@ function child() {
console.error('child listening on fd=3');
});
}

View File

@ -65,4 +65,3 @@ process.on('exit', function() {
assert.equal(N + 1, client_recv_count);
assert.equal(N + 1, client_end_count);
});

View File

@ -49,4 +49,3 @@ process.on('uncaughtException', function() {
process.on('exit', function() {
assert.deepStrictEqual(['A', 'B', 'C'], order);
});

View File

@ -10,4 +10,3 @@ var destStream = new Stream();
var result = sourceStream.pipe(destStream);
assert.strictEqual(result, destStream);

View File

@ -65,4 +65,3 @@ function test(clazz, cb) {
test(net.Stream, function() {
test(net.Socket);
});

View File

@ -17,4 +17,3 @@ child.on('exit', function(code, signal) {
assert.equal(code, 0);
assert.equal(output, 'hello, world!\n');
});

View File

@ -25,4 +25,3 @@ if (process.argv[2] === 'child') {
child.stdin.end();
}, 10);
}

View File

@ -39,4 +39,3 @@ process.on('exit', function(c) {
});
read.pipe(write);

View File

@ -7,4 +7,3 @@ var assert = require('assert');
console.log('Σὲ γνωρίζω ἀπὸ τὴν κόψη');
assert.equal(true, /Hellö Wörld/.test('Hellö Wörld'));

View File

@ -11,4 +11,3 @@ sbx = vm.createContext(sbx);
sbx.test = 123;
assert.equal(sbx.window.window.window.window.window.test, 123);