1
0
mirror of https://github.com/robertkrimen/otto synced 2025-10-26 20:28:49 +08:00

Finally should still run even if Catch has break, continue, return, etc.

This commit is contained in:
Robert Krimen
2013-04-20 21:59:42 -07:00
parent 8d09167814
commit 2b3f317e3a
2 changed files with 14 additions and 4 deletions

View File

@@ -481,8 +481,7 @@ func TestTryFinally(t *testing.T) {
}
while(!abc && def < 10)
ghi;
`, "0")
// TODO 11
`, "11")
}
func TestTryCatch(t *testing.T) {