improve test for #2689 (#2694)

This commit is contained in:
Alex Lam S.L 2017-12-30 15:49:49 +08:00 committed by GitHub
parent 725aac8b46
commit ace272f0c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -209,9 +209,5 @@ issue_2689: {
return new t();
}
}
expect: {
function* y() {
return new (yield x());
}
}
expect_exact: "function*y(){return new(yield x())}"
}