summaryrefslogtreecommitdiff
path: root/test/parallel/test-file-write-stream3.js
diff options
context:
space:
mode:
authorsreepurnajasti <sreepurna.jasti@gmail.com>2018-01-10 15:05:15 +0530
committerJoyee Cheung <joyeec9h3@gmail.com>2018-01-17 08:50:02 +0800
commite08cf1d2309fb4368f11277e7021fa6d63790b9d (patch)
tree228906a7a5cc97cb1a810d8de4e4eefc8531a64e /test/parallel/test-file-write-stream3.js
parentd3600e513ae277534e9a37b51489ec8584fbf3dc (diff)
downloadandroid-node-v8-e08cf1d2309fb4368f11277e7021fa6d63790b9d.tar.gz
android-node-v8-e08cf1d2309fb4368f11277e7021fa6d63790b9d.tar.bz2
android-node-v8-e08cf1d2309fb4368f11277e7021fa6d63790b9d.zip
test: improve to use template string
PR-URL: https://github.com/nodejs/node/pull/18097 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Diffstat (limited to 'test/parallel/test-file-write-stream3.js')
-rw-r--r--test/parallel/test-file-write-stream3.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-file-write-stream3.js b/test/parallel/test-file-write-stream3.js
index 4bf7b88ff1..d62e9d5d3c 100644
--- a/test/parallel/test-file-write-stream3.js
+++ b/test/parallel/test-file-write-stream3.js
@@ -42,8 +42,8 @@ const fileDataExpected_3 = 'abcdefghij\u2026\u2026qrstuvwxyz';
process.on('exit', function() {
if (cb_occurred !== cb_expected) {
console.log(' Test callback events missing or out of order:');
- console.log(' expected: %j', cb_expected);
- console.log(' occurred: %j', cb_occurred);
+ console.log(` expected: ${cb_expected}`);
+ console.log(` occurred: ${cb_occurred}`);
assert.strictEqual(
cb_occurred, cb_expected,
`events missing or out of order: "${cb_occurred}" !== "${cb_expected}"`);