summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2016-05-08 23:04:17 -0700
committerRich Trott <rtrott@gmail.com>2016-05-11 23:18:16 -0700
commita56da51a384ca301fc9c608eadc608e6449fafe4 (patch)
treeb1f756cda1ce89b6a9d8cbd320364ca5ecbd38d0
parente16e611089f0bf1870a760f7e344e8da6f001428 (diff)
downloadandroid-node-v8-a56da51a384ca301fc9c608eadc608e6449fafe4.tar.gz
android-node-v8-a56da51a384ca301fc9c608eadc608e6449fafe4.tar.bz2
android-node-v8-a56da51a384ca301fc9c608eadc608e6449fafe4.zip
benchmark,test,lib: remove extra spaces
In preparation for stricter linting, remove extra spaces. PR-URL: https://github.com/nodejs/node/pull/6645 Reviewed-By: Michaƫl Zasso <mic.besace@gmail.com> Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: Roman Reiss <me@silverwind.io>
-rw-r--r--benchmark/buffers/buffer-write.js8
-rw-r--r--benchmark/buffers/dataview-set.js8
-rw-r--r--lib/internal/repl.js2
-rw-r--r--lib/path.js4
-rw-r--r--lib/querystring.js2
-rw-r--r--lib/repl.js2
-rw-r--r--lib/tls.js2
-rw-r--r--test/addons/buffer-free-callback/test.js8
-rw-r--r--test/gc/test-http-client-connaborted.js2
-rw-r--r--test/parallel/test-buffer-alloc.js2
-rw-r--r--test/parallel/test-buffer-concat.js2
-rw-r--r--test/parallel/test-buffer-includes.js2
-rw-r--r--test/parallel/test-buffer-indexof.js2
-rw-r--r--test/parallel/test-buffer.js2
-rw-r--r--test/parallel/test-crypto-fips.js2
-rw-r--r--test/parallel/test-crypto-padding-aes256.js2
-rw-r--r--test/parallel/test-dgram-send-bad-arguments.js6
-rw-r--r--test/parallel/test-domain-abort-on-uncaught.js2
-rw-r--r--test/parallel/test-domain-no-error-handler-abort-on-uncaught.js2
-rw-r--r--test/parallel/test-domain-with-abort-on-uncaught-exception.js2
-rw-r--r--test/parallel/test-fs-null-bytes.js54
-rw-r--r--test/parallel/test-https-agent-session-eviction.js2
-rw-r--r--test/parallel/test-regress-GH-7511.js2
-rw-r--r--test/parallel/test-repl-domain.js2
-rw-r--r--test/parallel/test-stream2-writable.js2
-rw-r--r--test/parallel/test-string-decoder.js2
-rw-r--r--test/parallel/test-tls-client-getephemeralkeyinfo.js2
-rw-r--r--test/parallel/test-tls-client-mindhsize.js2
-rw-r--r--test/parallel/test-tls-dhe.js2
-rw-r--r--test/timers/test-timers-reliability.js4
30 files changed, 69 insertions, 69 deletions
diff --git a/benchmark/buffers/buffer-write.js b/benchmark/buffers/buffer-write.js
index 51f8cd505e..ae78eaf91d 100644
--- a/benchmark/buffers/buffer-write.js
+++ b/benchmark/buffers/buffer-write.js
@@ -12,10 +12,10 @@ var bench = common.createBenchmark(main, {
millions: [1]
});
-const INT8 = 0x7f;
-const INT16 = 0x7fff;
-const INT32 = 0x7fffffff;
-const UINT8 = (INT8 * 2) + 1;
+const INT8 = 0x7f;
+const INT16 = 0x7fff;
+const INT32 = 0x7fffffff;
+const UINT8 = (INT8 * 2) + 1;
const UINT16 = (INT16 * 2) + 1;
const UINT32 = INT32;
diff --git a/benchmark/buffers/dataview-set.js b/benchmark/buffers/dataview-set.js
index ab9c1d1d23..0948cac962 100644
--- a/benchmark/buffers/dataview-set.js
+++ b/benchmark/buffers/dataview-set.js
@@ -10,10 +10,10 @@ var bench = common.createBenchmark(main, {
millions: [1]
});
-const INT8 = 0x7f;
-const INT16 = 0x7fff;
-const INT32 = 0x7fffffff;
-const UINT8 = INT8 * 2;
+const INT8 = 0x7f;
+const INT16 = 0x7fff;
+const INT32 = 0x7fffffff;
+const UINT8 = INT8 * 2;
const UINT16 = INT16 * 2;
const UINT32 = INT32 * 2;
diff --git a/lib/internal/repl.js b/lib/internal/repl.js
index cea681f583..b72741609b 100644
--- a/lib/internal/repl.js
+++ b/lib/internal/repl.js
@@ -136,7 +136,7 @@ function setupHistory(repl, historyPath, oldHistoryPath, ready) {
`the new one i.e., ${historyPath} and is empty.\nUsing it as is.\n`);
repl._refreshLine();
- } else if (oldHistoryPath) {
+ } else if (oldHistoryPath) {
// Grab data from the older pre-v3.0 JSON NODE_REPL_HISTORY_FILE format.
repl._writeToOutput(
'\nConverting old JSON repl history to line-separated history.\n' +
diff --git a/lib/path.js b/lib/path.js
index cad86ab9a2..0fbc715ea8 100644
--- a/lib/path.js
+++ b/lib/path.js
@@ -779,7 +779,7 @@ const win32 = {
end = i;
break;
}
- } else {
+ } else {
// We saw the first non-path separator
matchedSlash = false;
}
@@ -1335,7 +1335,7 @@ const posix = {
end = i;
break;
}
- } else {
+ } else {
// We saw the first non-path separator
matchedSlash = false;
}
diff --git a/lib/querystring.js b/lib/querystring.js
index 5375251929..ff1b47fb51 100644
--- a/lib/querystring.js
+++ b/lib/querystring.js
@@ -58,7 +58,7 @@ QueryString.unescapeBuffer = function(s, decodeSpaces) {
case 2: // Second hex digit
state = 0;
if (c >= 48/*0*/ && c <= 57/*9*/) {
- m = c - 48/*0*/;
+ m = c - 48/*0*/;
} else if (c >= 65/*A*/ && c <= 70/*F*/) {
m = c - 65/*A*/ + 10;
} else if (c >= 97/*a*/ && c <= 102/*f*/) {
diff --git a/lib/repl.js b/lib/repl.js
index a7452b8ec7..c7a0030244 100644
--- a/lib/repl.js
+++ b/lib/repl.js
@@ -156,7 +156,7 @@ class LineParser {
this.shouldFail = this.shouldFail ||
((!this._literal && lastChar === '\\') ||
- (this._literal && lastChar !== '\\'));
+ (this._literal && lastChar !== '\\'));
return line;
}
diff --git a/lib/tls.js b/lib/tls.js
index 8699207a24..1d119483a2 100644
--- a/lib/tls.js
+++ b/lib/tls.js
@@ -50,7 +50,7 @@ function convertProtocols(protocols) {
return buff;
}
-exports.convertNPNProtocols = function(protocols, out) {
+exports.convertNPNProtocols = function(protocols, out) {
// If protocols is Array - translate it into buffer
if (Array.isArray(protocols)) {
protocols = convertProtocols(protocols);
diff --git a/test/addons/buffer-free-callback/test.js b/test/addons/buffer-free-callback/test.js
index 09c19baecf..73222b288c 100644
--- a/test/addons/buffer-free-callback/test.js
+++ b/test/addons/buffer-free-callback/test.js
@@ -22,13 +22,13 @@ check(64, 1, 0);
check(97, 1, 0);
// Buffers can be unaligned
-check(64, 8, 0);
+check(64, 8, 0);
check(64, 16, 0);
-check(64, 8, 1);
+check(64, 8, 1);
check(64, 16, 1);
-check(97, 8, 1);
+check(97, 8, 1);
check(97, 16, 1);
-check(97, 8, 3);
+check(97, 8, 3);
check(97, 16, 3);
// Empty ArrayBuffer does not allocate data, worth checking
diff --git a/test/gc/test-http-client-connaborted.js b/test/gc/test-http-client-connaborted.js
index c203f43cad..8e9da96e50 100644
--- a/test/gc/test-http-client-connaborted.js
+++ b/test/gc/test-http-client-connaborted.js
@@ -6,7 +6,7 @@ function serverHandler(req, res) {
res.connection.destroy();
}
-const http = require('http');
+const http = require('http');
const weak = require('weak');
const common = require('../common');
const assert = require('assert');
diff --git a/test/parallel/test-buffer-alloc.js b/test/parallel/test-buffer-alloc.js
index 3ce8c71987..f7556da5af 100644
--- a/test/parallel/test-buffer-alloc.js
+++ b/test/parallel/test-buffer-alloc.js
@@ -1023,7 +1023,7 @@ Buffer.from(Buffer.allocUnsafe(0), 0, 0);
[ 'utf9',
'utf-7',
'Unicode-FTW',
- 'new gnu gun' ].forEach(function(enc) {
+ 'new gnu gun' ].forEach(function(enc) {
assert.equal(Buffer.isEncoding(enc), false);
});
diff --git a/test/parallel/test-buffer-concat.js b/test/parallel/test-buffer-concat.js
index bc628e656b..a1dda865b6 100644
--- a/test/parallel/test-buffer-concat.js
+++ b/test/parallel/test-buffer-concat.js
@@ -3,7 +3,7 @@ require('../common');
var assert = require('assert');
var zero = [];
-var one = [ Buffer.from('asdf') ];
+var one = [ Buffer.from('asdf') ];
var long = [];
for (var i = 0; i < 10; i++) long.push(Buffer.from('asdf'));
diff --git a/test/parallel/test-buffer-includes.js b/test/parallel/test-buffer-includes.js
index 2d46e1b6e6..7962d1cef8 100644
--- a/test/parallel/test-buffer-includes.js
+++ b/test/parallel/test-buffer-includes.js
@@ -164,7 +164,7 @@ assert(!mixedByteStringUtf8.includes('\u0396'));
// Long string that isn't a simple repeat of a shorter string.
var longString = 'A';
for (let i = 66; i < 76; i++) { // from 'B' to 'K'
- longString = longString + String.fromCharCode(i) + longString;
+ longString = longString + String.fromCharCode(i) + longString;
}
const longBufferString = Buffer.from(longString);
diff --git a/test/parallel/test-buffer-indexof.js b/test/parallel/test-buffer-indexof.js
index 7d54ea0d47..647f1e9a62 100644
--- a/test/parallel/test-buffer-indexof.js
+++ b/test/parallel/test-buffer-indexof.js
@@ -183,7 +183,7 @@ assert.equal(-1, mixedByteStringUtf8.indexOf('\u0396'));
// Long string that isn't a simple repeat of a shorter string.
var longString = 'A';
for (let i = 66; i < 76; i++) { // from 'B' to 'K'
- longString = longString + String.fromCharCode(i) + longString;
+ longString = longString + String.fromCharCode(i) + longString;
}
var longBufferString = Buffer.from(longString);
diff --git a/test/parallel/test-buffer.js b/test/parallel/test-buffer.js
index d9a9d4e3b0..7fc11fc8d5 100644
--- a/test/parallel/test-buffer.js
+++ b/test/parallel/test-buffer.js
@@ -1016,7 +1016,7 @@ Buffer(Buffer(0), 0, 0);
[ 'utf9',
'utf-7',
'Unicode-FTW',
- 'new gnu gun' ].forEach(function(enc) {
+ 'new gnu gun' ].forEach(function(enc) {
assert.equal(Buffer.isEncoding(enc), false);
});
diff --git a/test/parallel/test-crypto-fips.js b/test/parallel/test-crypto-fips.js
index abccb450ad..d9e85618f0 100644
--- a/test/parallel/test-crypto-fips.js
+++ b/test/parallel/test-crypto-fips.js
@@ -41,7 +41,7 @@ function testHelper(stream, args, expectedOutput, cmd, env) {
cmd + ' and args \'' + args + '\'');
function childOk(child) {
- console.error('Child #' + ++num_children_ok +
+ console.error('Child #' + ++num_children_ok +
' [pid:' + child.pid + '] OK.');
}
diff --git a/test/parallel/test-crypto-padding-aes256.js b/test/parallel/test-crypto-padding-aes256.js
index f5aa63474e..bf03b6e124 100644
--- a/test/parallel/test-crypto-padding-aes256.js
+++ b/test/parallel/test-crypto-padding-aes256.js
@@ -11,7 +11,7 @@ var crypto = require('crypto');
crypto.DEFAULT_ENCODING = 'buffer';
function aes256(decipherFinal) {
- var iv = Buffer.from('00000000000000000000000000000000', 'hex');
+ var iv = Buffer.from('00000000000000000000000000000000', 'hex');
var key = Buffer.from('0123456789abcdef0123456789abcdef' +
'0123456789abcdef0123456789abcdef', 'hex');
diff --git a/test/parallel/test-dgram-send-bad-arguments.js b/test/parallel/test-dgram-send-bad-arguments.js
index 5d87485537..a3918697ad 100644
--- a/test/parallel/test-dgram-send-bad-arguments.js
+++ b/test/parallel/test-dgram-send-bad-arguments.js
@@ -12,12 +12,12 @@ assert.throws(function() {
}, TypeError); // First argument should be a buffer.
// send(buf, offset, length, port, host)
-assert.throws(function() { sock.send(buf, 1, 1, -1, host); }, RangeError);
-assert.throws(function() { sock.send(buf, 1, 1, 0, host); }, RangeError);
+assert.throws(function() { sock.send(buf, 1, 1, -1, host); }, RangeError);
+assert.throws(function() { sock.send(buf, 1, 1, 0, host); }, RangeError);
assert.throws(function() { sock.send(buf, 1, 1, 65536, host); }, RangeError);
// send(buf, port, host)
-assert.throws(function() { sock.send(23, 12345, host); }, TypeError);
+assert.throws(function() { sock.send(23, 12345, host); }, TypeError);
// send([buf1, ..], port, host)
assert.throws(function() { sock.send([buf, 23], 12345, host); }, TypeError);
diff --git a/test/parallel/test-domain-abort-on-uncaught.js b/test/parallel/test-domain-abort-on-uncaught.js
index 9d23046506..a129b0858c 100644
--- a/test/parallel/test-domain-abort-on-uncaught.js
+++ b/test/parallel/test-domain-abort-on-uncaught.js
@@ -239,7 +239,7 @@ if (process.argv[2] === 'child') {
testCmd += 'ulimit -c 0 && ';
}
- testCmd += process.argv[0];
+ testCmd += process.argv[0];
testCmd += ' ' + '--abort-on-uncaught-exception';
testCmd += ' ' + process.argv[1];
testCmd += ' ' + 'child';
diff --git a/test/parallel/test-domain-no-error-handler-abort-on-uncaught.js b/test/parallel/test-domain-no-error-handler-abort-on-uncaught.js
index 2fef72db00..329772e744 100644
--- a/test/parallel/test-domain-no-error-handler-abort-on-uncaught.js
+++ b/test/parallel/test-domain-no-error-handler-abort-on-uncaught.js
@@ -150,7 +150,7 @@ if (process.argv[2] === 'child') {
testCmd += 'ulimit -c 0 && ';
}
- testCmd += process.argv[0];
+ testCmd += process.argv[0];
testCmd += ' ' + '--abort-on-uncaught-exception';
testCmd += ' ' + process.argv[1];
testCmd += ' ' + 'child';
diff --git a/test/parallel/test-domain-with-abort-on-uncaught-exception.js b/test/parallel/test-domain-with-abort-on-uncaught-exception.js
index 3165663479..05d8dba482 100644
--- a/test/parallel/test-domain-with-abort-on-uncaught-exception.js
+++ b/test/parallel/test-domain-with-abort-on-uncaught-exception.js
@@ -103,7 +103,7 @@ if (process.argv[2] === 'child') {
if (options.useTryCatch)
useTryCatchOpt = 'useTryCatch';
- cmdToExec += process.argv[0] + ' ';
+ cmdToExec += process.argv[0] + ' ';
cmdToExec += (cmdLineOption ? cmdLineOption : '') + ' ';
cmdToExec += process.argv[1] + ' ';
cmdToExec += [
diff --git a/test/parallel/test-fs-null-bytes.js b/test/parallel/test-fs-null-bytes.js
index 1a6eb4ed71..3c70d2953c 100644
--- a/test/parallel/test-fs-null-bytes.js
+++ b/test/parallel/test-fs-null-bytes.js
@@ -21,33 +21,33 @@ function check(async, sync) {
async.apply(null, argsAsync);
}
-check(fs.access, fs.accessSync, 'foo\u0000bar');
-check(fs.access, fs.accessSync, 'foo\u0000bar', fs.F_OK);
-check(fs.appendFile, fs.appendFileSync, 'foo\u0000bar');
-check(fs.chmod, fs.chmodSync, 'foo\u0000bar', '0644');
-check(fs.chown, fs.chownSync, 'foo\u0000bar', 12, 34);
-check(fs.link, fs.linkSync, 'foo\u0000bar', 'foobar');
-check(fs.link, fs.linkSync, 'foobar', 'foo\u0000bar');
-check(fs.lstat, fs.lstatSync, 'foo\u0000bar');
-check(fs.mkdir, fs.mkdirSync, 'foo\u0000bar', '0755');
-check(fs.open, fs.openSync, 'foo\u0000bar', 'r');
-check(fs.readFile, fs.readFileSync, 'foo\u0000bar');
-check(fs.readdir, fs.readdirSync, 'foo\u0000bar');
-check(fs.readlink, fs.readlinkSync, 'foo\u0000bar');
-check(fs.realpath, fs.realpathSync, 'foo\u0000bar');
-check(fs.rename, fs.renameSync, 'foo\u0000bar', 'foobar');
-check(fs.rename, fs.renameSync, 'foobar', 'foo\u0000bar');
-check(fs.rmdir, fs.rmdirSync, 'foo\u0000bar');
-check(fs.stat, fs.statSync, 'foo\u0000bar');
-check(fs.symlink, fs.symlinkSync, 'foo\u0000bar', 'foobar');
-check(fs.symlink, fs.symlinkSync, 'foobar', 'foo\u0000bar');
-check(fs.truncate, fs.truncateSync, 'foo\u0000bar');
-check(fs.unlink, fs.unlinkSync, 'foo\u0000bar');
-check(null, fs.unwatchFile, 'foo\u0000bar', common.fail);
-check(fs.utimes, fs.utimesSync, 'foo\u0000bar', 0, 0);
-check(null, fs.watch, 'foo\u0000bar', common.fail);
-check(null, fs.watchFile, 'foo\u0000bar', common.fail);
-check(fs.writeFile, fs.writeFileSync, 'foo\u0000bar');
+check(fs.access, fs.accessSync, 'foo\u0000bar');
+check(fs.access, fs.accessSync, 'foo\u0000bar', fs.F_OK);
+check(fs.appendFile, fs.appendFileSync, 'foo\u0000bar');
+check(fs.chmod, fs.chmodSync, 'foo\u0000bar', '0644');
+check(fs.chown, fs.chownSync, 'foo\u0000bar', 12, 34);
+check(fs.link, fs.linkSync, 'foo\u0000bar', 'foobar');
+check(fs.link, fs.linkSync, 'foobar', 'foo\u0000bar');
+check(fs.lstat, fs.lstatSync, 'foo\u0000bar');
+check(fs.mkdir, fs.mkdirSync, 'foo\u0000bar', '0755');
+check(fs.open, fs.openSync, 'foo\u0000bar', 'r');
+check(fs.readFile, fs.readFileSync, 'foo\u0000bar');
+check(fs.readdir, fs.readdirSync, 'foo\u0000bar');
+check(fs.readlink, fs.readlinkSync, 'foo\u0000bar');
+check(fs.realpath, fs.realpathSync, 'foo\u0000bar');
+check(fs.rename, fs.renameSync, 'foo\u0000bar', 'foobar');
+check(fs.rename, fs.renameSync, 'foobar', 'foo\u0000bar');
+check(fs.rmdir, fs.rmdirSync, 'foo\u0000bar');
+check(fs.stat, fs.statSync, 'foo\u0000bar');
+check(fs.symlink, fs.symlinkSync, 'foo\u0000bar', 'foobar');
+check(fs.symlink, fs.symlinkSync, 'foobar', 'foo\u0000bar');
+check(fs.truncate, fs.truncateSync, 'foo\u0000bar');
+check(fs.unlink, fs.unlinkSync, 'foo\u0000bar');
+check(null, fs.unwatchFile, 'foo\u0000bar', common.fail);
+check(fs.utimes, fs.utimesSync, 'foo\u0000bar', 0, 0);
+check(null, fs.watch, 'foo\u0000bar', common.fail);
+check(null, fs.watchFile, 'foo\u0000bar', common.fail);
+check(fs.writeFile, fs.writeFileSync, 'foo\u0000bar');
// an 'error' for exists means that it doesn't exist.
// one of many reasons why this file is the absolute worst.
diff --git a/test/parallel/test-https-agent-session-eviction.js b/test/parallel/test-https-agent-session-eviction.js
index df6fdc3658..da2accffcd 100644
--- a/test/parallel/test-https-agent-session-eviction.js
+++ b/test/parallel/test-https-agent-session-eviction.js
@@ -26,7 +26,7 @@ https.createServer(options, function(req, res) {
});
// Do request and let agent cache the session
-function first(server) {
+function first(server) {
const req = https.request({
port: common.PORT,
rejectUnauthorized: false
diff --git a/test/parallel/test-regress-GH-7511.js b/test/parallel/test-regress-GH-7511.js
index 6194da291c..d18a3ae02c 100644
--- a/test/parallel/test-regress-GH-7511.js
+++ b/test/parallel/test-regress-GH-7511.js
@@ -5,6 +5,6 @@ const vm = require('vm');
assert.doesNotThrow(function() {
var context = vm.createContext({ process: process });
- var result = vm.runInContext('process.env["PATH"]', context);
+ var result = vm.runInContext('process.env["PATH"]', context);
assert.notEqual(undefined, result);
});
diff --git a/test/parallel/test-repl-domain.js b/test/parallel/test-repl-domain.js
index adc8478bee..e2682420cb 100644
--- a/test/parallel/test-repl-domain.js
+++ b/test/parallel/test-repl-domain.js
@@ -1,7 +1,7 @@
'use strict';
var common = require('../common');
-var repl = require('repl');
+var repl = require('repl');
const putIn = new common.ArrayStream();
repl.start('', putIn);
diff --git a/test/parallel/test-stream2-writable.js b/test/parallel/test-stream2-writable.js
index 062e69f78c..2b687e0a24 100644
--- a/test/parallel/test-stream2-writable.js
+++ b/test/parallel/test-stream2-writable.js
@@ -258,7 +258,7 @@ test('end callback after .write() call', function(t) {
test('end callback called after write callback', function(t) {
var tw = new TestWriter();
var writeCalledback = false;
- tw.write(Buffer.from('hello world'), function() {
+ tw.write(Buffer.from('hello world'), function() {
writeCalledback = true;
});
tw.end(function() {
diff --git a/test/parallel/test-string-decoder.js b/test/parallel/test-string-decoder.js
index 39f80db9ef..4f7cbd7fad 100644
--- a/test/parallel/test-string-decoder.js
+++ b/test/parallel/test-string-decoder.js
@@ -27,7 +27,7 @@ test(
test('ucs2', Buffer.from('ababc', 'ucs2'), 'ababc');
// UTF-16LE
-test('ucs2', Buffer.from('3DD84DDC', 'hex'), '\ud83d\udc4d'); // thumbs up
+test('ucs2', Buffer.from('3DD84DDC', 'hex'), '\ud83d\udc4d'); // thumbs up
console.log(' crayon!');
diff --git a/test/parallel/test-tls-client-getephemeralkeyinfo.js b/test/parallel/test-tls-client-getephemeralkeyinfo.js
index 8932a4fc8a..6e45ffc62c 100644
--- a/test/parallel/test-tls-client-getephemeralkeyinfo.js
+++ b/test/parallel/test-tls-client-getephemeralkeyinfo.js
@@ -9,7 +9,7 @@ if (!common.hasCrypto) {
var tls = require('tls');
var fs = require('fs');
-var key = fs.readFileSync(common.fixturesDir + '/keys/agent2-key.pem');
+var key = fs.readFileSync(common.fixturesDir + '/keys/agent2-key.pem');
var cert = fs.readFileSync(common.fixturesDir + '/keys/agent2-cert.pem');
var ntests = 0;
diff --git a/test/parallel/test-tls-client-mindhsize.js b/test/parallel/test-tls-client-mindhsize.js
index 0921a373c2..28e9e1b653 100644
--- a/test/parallel/test-tls-client-mindhsize.js
+++ b/test/parallel/test-tls-client-mindhsize.js
@@ -9,7 +9,7 @@ if (!common.hasCrypto) {
var tls = require('tls');
var fs = require('fs');
-var key = fs.readFileSync(common.fixturesDir + '/keys/agent2-key.pem');
+var key = fs.readFileSync(common.fixturesDir + '/keys/agent2-key.pem');
var cert = fs.readFileSync(common.fixturesDir + '/keys/agent2-cert.pem');
var nsuccess = 0;
diff --git a/test/parallel/test-tls-dhe.js b/test/parallel/test-tls-dhe.js
index ffcf52947f..f7d498b043 100644
--- a/test/parallel/test-tls-dhe.js
+++ b/test/parallel/test-tls-dhe.js
@@ -10,7 +10,7 @@ var tls = require('tls');
var spawn = require('child_process').spawn;
var fs = require('fs');
-var key = fs.readFileSync(common.fixturesDir + '/keys/agent2-key.pem');
+var key = fs.readFileSync(common.fixturesDir + '/keys/agent2-key.pem');
var cert = fs.readFileSync(common.fixturesDir + '/keys/agent2-cert.pem');
var nsuccess = 0;
var ntests = 0;
diff --git a/test/timers/test-timers-reliability.js b/test/timers/test-timers-reliability.js
index 11c2ced15b..6d0676dcd8 100644
--- a/test/timers/test-timers-reliability.js
+++ b/test/timers/test-timers-reliability.js
@@ -3,10 +3,10 @@
require('../common');
-var Timer = process.binding('timer_wrap').Timer;
+var Timer = process.binding('timer_wrap').Timer;
var assert = require('assert');
-var timerFired = false;
+var timerFired = false;
var intervalFired = false;
/*