mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-05-03 03:00:14 -04:00
adding a one-line exception test.
This commit is contained in:
@@ -16,4 +16,9 @@ result: try
|
||||
catch err
|
||||
err.length
|
||||
|
||||
ok result is 2
|
||||
ok result is 2
|
||||
|
||||
|
||||
result: try throw 'longer' catch err then err.length
|
||||
|
||||
ok result is 6
|
||||
Reference in New Issue
Block a user