From 9bc7cd790449eb27f8f6c60cdbbe20e1761f75bd Mon Sep 17 00:00:00 2001 From: Jeremy Ashkenas Date: Mon, 28 Jun 2010 08:50:44 -0400 Subject: [PATCH] adding a one-line exception test. --- test/test_exceptions.coffee | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/test_exceptions.coffee b/test/test_exceptions.coffee index 57594804..ab9dd710 100644 --- a/test/test_exceptions.coffee +++ b/test/test_exceptions.coffee @@ -16,4 +16,9 @@ result: try catch err err.length -ok result is 2 \ No newline at end of file +ok result is 2 + + +result: try throw 'longer' catch err then err.length + +ok result is 6 \ No newline at end of file