aboutsummaryrefslogtreecommitdiff
path: root/test/sequential/test-cli-syntax-require.js
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/test-cli-syntax-require.js
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/test-cli-syntax-require.js')
-rw-r--r--test/sequential/test-cli-syntax-require.js4
1 files changed, 2 insertions, 2 deletions
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