diff options
author | Rich Trott <rtrott@gmail.com> | 2016-01-30 22:44:26 -0800 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2016-02-01 09:39:46 -0800 |
commit | 5f44475b5ad9a7ddf6aea4350c0dc9cced4954e8 (patch) | |
tree | cdb8dca36fce13abf4949d0f0497b426b1737694 /test/parallel/test-vm-harmony-symbols.js | |
parent | f3be421c1cea01e7745906f36286c7b8fa607cb7 (diff) | |
download | android-node-v8-5f44475b5ad9a7ddf6aea4350c0dc9cced4954e8.tar.gz android-node-v8-5f44475b5ad9a7ddf6aea4350c0dc9cced4954e8.tar.bz2 android-node-v8-5f44475b5ad9a7ddf6aea4350c0dc9cced4954e8.zip |
test: fix redeclared vars in test-vm-*
PR-URL: https://github.com/nodejs/node/pull/4997
Reviewed-By: Michaƫl Zasso <mic.besace@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/parallel/test-vm-harmony-symbols.js')
-rw-r--r-- | test/parallel/test-vm-harmony-symbols.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-vm-harmony-symbols.js b/test/parallel/test-vm-harmony-symbols.js index e4b27c9ebb..456a28f4d5 100644 --- a/test/parallel/test-vm-harmony-symbols.js +++ b/test/parallel/test-vm-harmony-symbols.js @@ -10,7 +10,7 @@ assert(typeof sandbox.Symbol === 'function'); assert(sandbox.Symbol !== Symbol); // Unless we copy the Symbol constructor explicitly, of course. -var sandbox = { Symbol: Symbol }; +sandbox = { Symbol: Symbol }; vm.runInNewContext('this.Symbol = Symbol', sandbox); assert(typeof sandbox.Symbol === 'function'); assert(sandbox.Symbol === Symbol); |