From 5ead67425427c9deaed3e4abf0cd1257ba39953b Mon Sep 17 00:00:00 2001 From: Chris Dickinson Date: Mon, 4 May 2015 18:16:54 -0700 Subject: [PATCH] test: remove obsolete harmony flags --- test/parallel/test-repl-harmony.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-repl-harmony.js b/test/parallel/test-repl-harmony.js index 420b3163cce252..0d8b4fd12243dd 100644 --- a/test/parallel/test-repl-harmony.js +++ b/test/parallel/test-repl-harmony.js @@ -2,10 +2,10 @@ var common = require('../common'); var assert = require('assert'); var spawn = require('child_process').spawn; -var args = ['--harmony', '--harmony_scoping', '--use-strict', '-i']; +var args = ['-i']; var child = spawn(process.execPath, args); -var input = '(function(){const y=1;y=2})()\n'; +var input = '(function(){"use strict"; const y=1;y=2})()\n'; var expectOut = /^> TypeError: Assignment to constant variable.\n/; child.stderr.setEncoding('utf8');