Remove ES2015 tests than do not parse in ES2016 (#4501)

These tests are originally from Traceur, which does not fully support
ES2016.

See babel/babylon#106 for a rationale why these code blocks are not
valid ES2016.
This commit is contained in:
Timothy Gu
2016-09-11 18:58:38 -07:00
committed by Henry Zhu
parent d2d34ba8e7
commit 5249b9d809
2 changed files with 0 additions and 15 deletions

View File

@@ -9,10 +9,3 @@ var o = {
function f({x}) {}
f(o);
assert.equal(1, count);
count = 0;
function g({x}) {
'use strict';
}
g(o);
assert.equal(1, count);

View File

@@ -1,11 +1,3 @@
function f(x, y = function(x) {}) {
'use strict';
}
var f2 = (x, y = function(x) {}) => {
'use strict';
};
function g() {
'use strict';
function h(x, y = function(x) {}) {