aboutsummaryrefslogtreecommitdiff
path: root/test/sequential
diff options
context:
space:
mode:
authorRuben Bridgewater <ruben@bridgewater.de>2019-03-22 03:44:26 +0100
committerRuben Bridgewater <ruben@bridgewater.de>2019-03-27 17:20:06 +0100
commitb08a867d6016ccf04783a0f91fdbcc3460daf234 (patch)
tree5df4b30220cde5ae5eac9ed956c9badac6ba08af /test/sequential
parentfd992e6e36bb4b01a6ceb71cfeb3bae640b492a6 (diff)
downloadandroid-node-v8-b08a867d6016ccf04783a0f91fdbcc3460daf234.tar.gz
android-node-v8-b08a867d6016ccf04783a0f91fdbcc3460daf234.tar.bz2
android-node-v8-b08a867d6016ccf04783a0f91fdbcc3460daf234.zip
benchmark,doc,lib: capitalize more comments
PR-URL: https://github.com/nodejs/node/pull/26849 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Diffstat (limited to 'test/sequential')
-rw-r--r--test/sequential/test-child-process-emfile.js2
-rw-r--r--test/sequential/test-cli-syntax-bad.js2
-rw-r--r--test/sequential/test-cli-syntax-file-not-found.js2
-rw-r--r--test/sequential/test-cli-syntax-require.js4
-rw-r--r--test/sequential/test-http-keepalive-maxsockets.js2
-rw-r--r--test/sequential/test-stream2-stderr-sync.js2
6 files changed, 7 insertions, 7 deletions
diff --git a/test/sequential/test-child-process-emfile.js b/test/sequential/test-child-process-emfile.js
index e81b3a0ffe..7e31792f9d 100644
--- a/test/sequential/test-child-process-emfile.js
+++ b/test/sequential/test-child-process-emfile.js
@@ -64,7 +64,7 @@ proc.on('error', common.mustCall(function(err) {
proc.on('exit', common.mustNotCall('"exit" event should not be emitted'));
-// close one fd for LSan
+// Close one fd for LSan
if (openFds.length >= 1) {
fs.closeSync(openFds.pop());
}
diff --git a/test/sequential/test-cli-syntax-bad.js b/test/sequential/test-cli-syntax-bad.js
index 1512d9df4f..8298157a57 100644
--- a/test/sequential/test-cli-syntax-bad.js
+++ b/test/sequential/test-cli-syntax-bad.js
@@ -35,7 +35,7 @@ const syntaxErrorRE = /^SyntaxError: \b/m;
assert.strictEqual(err.code, 1,
`code ${err.code} !== 1 for error:\n\n${err}`);
- // no stdout should be produced
+ // No stdout should be produced
assert.strictEqual(stdout, '');
// Stderr should have a syntax error message
diff --git a/test/sequential/test-cli-syntax-file-not-found.js b/test/sequential/test-cli-syntax-file-not-found.js
index b3bb9723e2..3e1f3ec561 100644
--- a/test/sequential/test-cli-syntax-file-not-found.js
+++ b/test/sequential/test-cli-syntax-file-not-found.js
@@ -27,7 +27,7 @@ const notFoundRE = /^Error: Cannot find module/m;
const _args = args.concat(file);
const cmd = [node, ..._args].join(' ');
exec(cmd, common.mustCall((err, stdout, stderr) => {
- // no stdout should be produced
+ // No stdout should be produced
assert.strictEqual(stdout, '');
// `stderr` should have a module not found error message.
diff --git a/test/sequential/test-cli-syntax-require.js b/test/sequential/test-cli-syntax-require.js
index d99dc2ff71..c309b1f455 100644
--- a/test/sequential/test-cli-syntax-require.js
+++ b/test/sequential/test-cli-syntax-require.js
@@ -11,7 +11,7 @@ const node = process.execPath;
// depending on the JavaScript engine.
const syntaxErrorRE = /^SyntaxError: \b/m;
-// should work with -r flags
+// Should work with -r flags
['-c', '--check'].forEach(function(checkFlag) {
['-r', '--require'].forEach(function(requireFlag) {
const preloadFile = fixtures.path('no-wrapper.js');
@@ -23,7 +23,7 @@ const syntaxErrorRE = /^SyntaxError: \b/m;
assert.strictEqual(err.code, 1,
`code ${err.code} !== 1 for error:\n\n${err}`);
- // no stdout should be produced
+ // No stdout should be produced
assert.strictEqual(stdout, '');
// stderr should have a syntax error message
diff --git a/test/sequential/test-http-keepalive-maxsockets.js b/test/sequential/test-http-keepalive-maxsockets.js
index 53d67b2479..9c98a140f6 100644
--- a/test/sequential/test-http-keepalive-maxsockets.js
+++ b/test/sequential/test-http-keepalive-maxsockets.js
@@ -47,7 +47,7 @@ server.listen(0, function() {
assert.strictEqual(count(agent.sockets), 0);
assert.strictEqual(serverSockets.length, 5);
- // now make 10 more reqs.
+ // Now make 10 more reqs.
// should use the 2 free reqs from the pool first.
makeReqs(10, function(er) {
assert.ifError(er);
diff --git a/test/sequential/test-stream2-stderr-sync.js b/test/sequential/test-stream2-stderr-sync.js
index 68d35dbdbc..7384cf6e74 100644
--- a/test/sequential/test-stream2-stderr-sync.js
+++ b/test/sequential/test-stream2-stderr-sync.js
@@ -53,7 +53,7 @@ function child0() {
console.error('baz');
}
-// using process.stderr
+// Using process.stderr
function child1() {
process.stderr.write('child 1\n');
process.stderr.write('foo\n');