mirror of
https://github.com/robertkrimen/otto
synced 2025-10-26 20:28:49 +08:00
Fix to not bypass finally on continue, break, return, etc.
This commit is contained in:
@@ -583,7 +583,7 @@ func TestTryFinally(t *testing.T) {
|
||||
}
|
||||
while(!abc && def < 10)
|
||||
def;
|
||||
`, "10")
|
||||
`, "1")
|
||||
}
|
||||
|
||||
func TestTryCatch(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user