[macruby-changes] [4080] MacRuby/trunk/test_vm/exception.rb
source_changes at macosforge.org
source_changes at macosforge.org
Wed May 12 15:23:12 PDT 2010
Revision: 4080
http://trac.macosforge.org/projects/ruby/changeset/4080
Author: lsansonetti at apple.com
Date: 2010-05-12 15:23:08 -0700 (Wed, 12 May 2010)
Log Message:
-----------
added test to cover bug #707
Modified Paths:
--------------
MacRuby/trunk/test_vm/exception.rb
Modified: MacRuby/trunk/test_vm/exception.rb
===================================================================
--- MacRuby/trunk/test_vm/exception.rb 2010-05-12 02:30:27 UTC (rev 4079)
+++ MacRuby/trunk/test_vm/exception.rb 2010-05-12 22:23:08 UTC (rev 4080)
@@ -408,3 +408,18 @@
end
foo
}
+
+assert ":ok", %{
+ def foo
+ begin
+ raise "bad"
+ rescue
+ raise "ok"
+ end
+ end
+ begin
+ foo
+ rescue => e
+ p e.message.intern
+ end
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100512/0d6d391c/attachment.html>
More information about the macruby-changes
mailing list