projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed85c95
)
test: remove obsolete harmony flags
author
Chris Dickinson
<christopher.s.dickinson@gmail.com>
Tue, 5 May 2015 01:16:54 +0000
(18:16 -0700)
committer
Rod Vagg
<rod@vagg.org>
Tue, 4 Aug 2015 18:56:08 +0000
(11:56 -0700)
test/parallel/test-repl-harmony.js
patch
|
blob
|
history
diff --git
a/test/parallel/test-repl-harmony.js
b/test/parallel/test-repl-harmony.js
index
446aebe
..
6bc5cb5
100644
(file)
--- a/
test/parallel/test-repl-harmony.js
+++ b/
test/parallel/test-repl-harmony.js
@@
-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');