summaryrefslogtreecommitdiff
path: root/test/parallel/test-fs-stat.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-fs-stat.js')
-rw-r--r--test/parallel/test-fs-stat.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/parallel/test-fs-stat.js b/test/parallel/test-fs-stat.js
index dfd45855c0..6ed27806b9 100644
--- a/test/parallel/test-fs-stat.js
+++ b/test/parallel/test-fs-stat.js
@@ -77,25 +77,25 @@ fs.stat(__filename, common.mustCall(function(err, s) {
console.dir(s);
- console.log('isDirectory: ' + JSON.stringify(s.isDirectory()));
+ console.log(`isDirectory: ${JSON.stringify(s.isDirectory())}`);
assert.strictEqual(false, s.isDirectory());
- console.log('isFile: ' + JSON.stringify(s.isFile()));
+ console.log(`isFile: ${JSON.stringify(s.isFile())}`);
assert.strictEqual(true, s.isFile());
- console.log('isSocket: ' + JSON.stringify(s.isSocket()));
+ console.log(`isSocket: ${JSON.stringify(s.isSocket())}`);
assert.strictEqual(false, s.isSocket());
- console.log('isBlockDevice: ' + JSON.stringify(s.isBlockDevice()));
+ console.log(`isBlockDevice: ${JSON.stringify(s.isBlockDevice())}`);
assert.strictEqual(false, s.isBlockDevice());
- console.log('isCharacterDevice: ' + JSON.stringify(s.isCharacterDevice()));
+ console.log(`isCharacterDevice: ${JSON.stringify(s.isCharacterDevice())}`);
assert.strictEqual(false, s.isCharacterDevice());
- console.log('isFIFO: ' + JSON.stringify(s.isFIFO()));
+ console.log(`isFIFO: ${JSON.stringify(s.isFIFO())}`);
assert.strictEqual(false, s.isFIFO());
- console.log('isSymbolicLink: ' + JSON.stringify(s.isSymbolicLink()));
+ console.log(`isSymbolicLink: ${JSON.stringify(s.isSymbolicLink())}`);
assert.strictEqual(false, s.isSymbolicLink());
assert.ok(s.mtime instanceof Date);