Skip to content

Commit 5ead674

Browse files
test: remove obsolete harmony flags
1 parent 7693705 commit 5ead674

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-repl-harmony.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ var common = require('../common');
22
var assert = require('assert');
33

44
var spawn = require('child_process').spawn;
5-
var args = ['--harmony', '--harmony_scoping', '--use-strict', '-i'];
5+
var args = ['-i'];
66
var child = spawn(process.execPath, args);
77

8-
var input = '(function(){const y=1;y=2})()\n';
8+
var input = '(function(){"use strict"; const y=1;y=2})()\n';
99
var expectOut = /^> TypeError: Assignment to constant variable.\n/;
1010

1111
child.stderr.setEncoding('utf8');

0 commit comments

Comments
 (0)