Skip to content

Commit

Permalink
test: remove obsolete harmony flags
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdickinson authored and rvagg committed Aug 4, 2015
1 parent ea05e76 commit 92214cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-repl-harmony.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,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');
Expand Down

0 comments on commit 92214cf

Please sign in to comment.