summaryrefslogtreecommitdiff
path: root/test/parallel/test-vm-function-declaration.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-vm-function-declaration.js')
-rw-r--r--test/parallel/test-vm-function-declaration.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/parallel/test-vm-function-declaration.js b/test/parallel/test-vm-function-declaration.js
index c9a4fbb03e..5ff194e12d 100644
--- a/test/parallel/test-vm-function-declaration.js
+++ b/test/parallel/test-vm-function-declaration.js
@@ -1,3 +1,4 @@
+'use strict';
var common = require('../common');
var assert = require('assert');
@@ -13,7 +14,7 @@ code += 'function b(){}\n';
// Grab the global b function as the completion value, to ensure that
// we are getting the global function, and not some other thing
-code += '(function(){return this})().b;\n'
+code += '(function(){return this})().b;\n';
var res = vm.runInContext(code, o, 'test');