diff --git a/test/message/timeout_throw.out b/test/message/timeout_throw.out index dcff9b695bb41d..1e545a1db15dfc 100644 --- a/test/message/timeout_throw.out +++ b/test/message/timeout_throw.out @@ -2,6 +2,6 @@ undefined_reference_error_maker; ^ ReferenceError: undefined_reference_error_maker is not defined - at null._onTimeout (*test*message*timeout_throw.js:*:*) + at ._onTimeout (*test*message*timeout_throw.js:*:*) at tryOnTimeout (timers.js:*:*) at Timer.listOnTimeout (timers.js:*:*) diff --git a/test/parallel/test-repl-mode.js b/test/parallel/test-repl-mode.js index ba7d983bad6d26..08b296c2c341a4 100644 --- a/test/parallel/test-repl-mode.js +++ b/test/parallel/test-repl-mode.js @@ -28,8 +28,7 @@ function testSloppyMode() { cli.input.emit('data', ` let y = 3 `.trim() + '\n'); - assert.ok(/SyntaxError: Block-scoped/.test( - cli.output.accumulator.join(''))); + assert.equal(cli.output.accumulator.join(''), 'undefined\n> '); } function testStrictMode() { diff --git a/test/parallel/test-repl-tab-complete.js b/test/parallel/test-repl-tab-complete.js index 5c0c9c516a3084..f20630280f2254 100644 --- a/test/parallel/test-repl-tab-complete.js +++ b/test/parallel/test-repl-tab-complete.js @@ -1,7 +1,5 @@ 'use strict'; -// Flags: --harmony-proxies - var common = require('../common'); var assert = require('assert'); var repl = require('repl'); diff --git a/test/parallel/test-vm-harmony-proxies.js b/test/parallel/test-vm-proxies.js similarity index 81% rename from test/parallel/test-vm-harmony-proxies.js rename to test/parallel/test-vm-proxies.js index 71d9faffd9cedf..d789293e1ce980 100644 --- a/test/parallel/test-vm-harmony-proxies.js +++ b/test/parallel/test-vm-proxies.js @@ -1,5 +1,4 @@ 'use strict'; -// Flags: --harmony_proxies require('../common'); var assert = require('assert'); @@ -9,11 +8,11 @@ var vm = require('vm'); // context. Make sure that the new context has a Proxy object of its own. var sandbox = {}; vm.runInNewContext('this.Proxy = Proxy', sandbox); -assert(typeof sandbox.Proxy === 'object'); +assert(typeof sandbox.Proxy === 'function'); assert(sandbox.Proxy !== Proxy); // Unless we copy the Proxy object explicitly, of course. sandbox = { Proxy: Proxy }; vm.runInNewContext('this.Proxy = Proxy', sandbox); -assert(typeof sandbox.Proxy === 'object'); +assert(typeof sandbox.Proxy === 'function'); assert(sandbox.Proxy === Proxy);