mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
adding a one-line exception test.
This commit is contained in:
parent
d83bbfb1d5
commit
9bc7cd7904
1 changed files with 6 additions and 1 deletions
|
@ -16,4 +16,9 @@ result: try
|
||||||
catch err
|
catch err
|
||||||
err.length
|
err.length
|
||||||
|
|
||||||
ok result is 2
|
ok result is 2
|
||||||
|
|
||||||
|
|
||||||
|
result: try throw 'longer' catch err then err.length
|
||||||
|
|
||||||
|
ok result is 6
|
Loading…
Add table
Reference in a new issue