aboutsummaryrefslogtreecommitdiff
path: root/test/parallel/test-child-process-internal.js
diff options
context:
space:
mode:
authorWeijia Wang <381152119@qq.com>2018-03-25 22:27:38 +0800
committerWeijia Wang <381152119@qq.com>2018-04-01 22:33:13 +0800
commit254058109f469f64b8ca23bb65a206abab380604 (patch)
tree4069f77207f62816c248ed1ac9910467ff1b15d6 /test/parallel/test-child-process-internal.js
parentf89f79893d6e15938f9237efe4d2473ab4a65e9f (diff)
downloadandroid-node-v8-254058109f469f64b8ca23bb65a206abab380604.tar.gz
android-node-v8-254058109f469f64b8ca23bb65a206abab380604.tar.bz2
android-node-v8-254058109f469f64b8ca23bb65a206abab380604.zip
tools: add 'spaced-comment' into eslint rules
PR-URL: https://github.com/nodejs/node/pull/19596 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Diffstat (limited to 'test/parallel/test-child-process-internal.js')
-rw-r--r--test/parallel/test-child-process-internal.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/parallel/test-child-process-internal.js b/test/parallel/test-child-process-internal.js
index c99010aeb8..c6ce0a8e04 100644
--- a/test/parallel/test-child-process-internal.js
+++ b/test/parallel/test-child-process-internal.js
@@ -23,16 +23,16 @@
const common = require('../common');
const assert = require('assert');
-//messages
+// Messages
const PREFIX = 'NODE_';
const normal = { cmd: `foo${PREFIX}` };
const internal = { cmd: `${PREFIX}bar` };
if (process.argv[2] === 'child') {
- //send non-internal message containing PREFIX at a non prefix position
+ // Send non-internal message containing PREFIX at a non prefix position
process.send(normal);
- //send internal message
+ // Send internal message
process.send(internal);
process.exit(0);