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 committed May 13, 2015
1 parent 7693705 commit 5ead674
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 @@ -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');
Expand Down

0 comments on commit 5ead674

Please sign in to comment.