summaryrefslogtreecommitdiff
path: root/test/parallel/test-fs-long-path.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-fs-long-path.js')
-rw-r--r--test/parallel/test-fs-long-path.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/parallel/test-fs-long-path.js b/test/parallel/test-fs-long-path.js
index dd091ae1b1..8d22159e24 100644
--- a/test/parallel/test-fs-long-path.js
+++ b/test/parallel/test-fs-long-path.js
@@ -10,9 +10,9 @@ if (!common.isWindows) {
}
// make a path that will be at least 260 chars long.
-var fileNameLen = Math.max(260 - common.tmpDir.length - 1, 1);
-var fileName = path.join(common.tmpDir, new Array(fileNameLen + 1).join('x'));
-var fullPath = path.resolve(fileName);
+const fileNameLen = Math.max(260 - common.tmpDir.length - 1, 1);
+const fileName = path.join(common.tmpDir, new Array(fileNameLen + 1).join('x'));
+const fullPath = path.resolve(fileName);
common.refreshTmpDir();