summaryrefslogtreecommitdiff
path: root/test/parallel/test-regress-GH-7511.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-regress-GH-7511.js')
-rw-r--r--test/parallel/test-regress-GH-7511.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-regress-GH-7511.js b/test/parallel/test-regress-GH-7511.js
index 97e2fdb811..a7ce8311d7 100644
--- a/test/parallel/test-regress-GH-7511.js
+++ b/test/parallel/test-regress-GH-7511.js
@@ -4,7 +4,7 @@ const assert = require('assert');
const vm = require('vm');
assert.doesNotThrow(function() {
- var context = vm.createContext({ process: process });
- var result = vm.runInContext('process.env["PATH"]', context);
+ const context = vm.createContext({ process: process });
+ const result = vm.runInContext('process.env["PATH"]', context);
assert.notStrictEqual(undefined, result);
});