summaryrefslogtreecommitdiff
path: root/test/parallel/test-vm-cross-context.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-vm-cross-context.js')
-rw-r--r--test/parallel/test-vm-cross-context.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/parallel/test-vm-cross-context.js b/test/parallel/test-vm-cross-context.js
index 5674f58242..bafb32accb 100644
--- a/test/parallel/test-vm-cross-context.js
+++ b/test/parallel/test-vm-cross-context.js
@@ -1,9 +1,9 @@
'use strict';
require('../common');
-var assert = require('assert');
+const assert = require('assert');
-var vm = require('vm');
-var ctx = vm.createContext(global);
+const vm = require('vm');
+const ctx = vm.createContext(global);
assert.doesNotThrow(function() {
vm.runInContext('!function() { var x = console.log; }()', ctx);