summaryrefslogtreecommitdiff
path: root/test/parallel/test-next-tick-domain.js
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2018-09-12 20:24:28 -0700
committerRich Trott <rtrott@gmail.com>2018-09-16 20:37:33 -0700
commit141daf10c834e5e368e9479ab7a537fb487013d4 (patch)
tree2ff95df7d9f3a20a8c713299bff6bc6d7c036558 /test/parallel/test-next-tick-domain.js
parentd369ef05c85e7629775fce35e63d32cbdd527e5c (diff)
downloadandroid-node-v8-141daf10c834e5e368e9479ab7a537fb487013d4.tar.gz
android-node-v8-141daf10c834e5e368e9479ab7a537fb487013d4.tar.bz2
android-node-v8-141daf10c834e5e368e9479ab7a537fb487013d4.zip
test: remove string literal from assertion
Remove string literal from `assert.strictEqual()` call `message` parameter and make it a comment above the assertion instead. PR-URL: https://github.com/nodejs/node/pull/22849 Reviewed-By: Teddy Katz <teddy.katz@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'test/parallel/test-next-tick-domain.js')
-rw-r--r--test/parallel/test-next-tick-domain.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-next-tick-domain.js b/test/parallel/test-next-tick-domain.js
index 5c52619792..3e55ef3225 100644
--- a/test/parallel/test-next-tick-domain.js
+++ b/test/parallel/test-next-tick-domain.js
@@ -27,5 +27,5 @@ const origNextTick = process.nextTick;
require('domain');
-assert.strictEqual(origNextTick, process.nextTick,
- 'Requiring domain should not change nextTick');
+// Requiring domain should not change nextTick.
+assert.strictEqual(origNextTick, process.nextTick);