Skip to content

Commit 21d31c0

Browse files
chrisdickinsonrvagg
authored andcommitted
test: remove obsolete harmony flags
1 parent ed85c95 commit 21d31c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-repl-harmony.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ var common = require('../common');
33
var assert = require('assert');
44

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

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

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

0 commit comments

Comments
 (0)