summaryrefslogtreecommitdiff
path: root/test/addons/load-long-path/test.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/addons/load-long-path/test.js')
-rw-r--r--test/addons/load-long-path/test.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/addons/load-long-path/test.js b/test/addons/load-long-path/test.js
index b17942b45a..6e540fea55 100644
--- a/test/addons/load-long-path/test.js
+++ b/test/addons/load-long-path/test.js
@@ -32,6 +32,6 @@ var contents = fs.readFileSync(addonPath);
fs.writeFileSync(addonDestinationPath, contents);
// Attempt to load at long path destination
-var addon = require(addonDestinationPath);
+const addon = require(addonDestinationPath);
assert.notEqual(addon, null);
assert.strictEqual(addon.hello(), 'world');