fix tests

This commit is contained in:
alexlamsl
2017-12-10 14:16:54 +08:00
parent 21c986ff5b
commit 7fd4b66eaa
2 changed files with 11 additions and 9 deletions

View File

@@ -5130,8 +5130,10 @@ issue_2560_6: {
}
expect: {
function baz() {
// TODO: improve to match `master`
function foo() {}
try {
throw function() {};
throw foo;
} catch (bar) {
return bar;
}