[macruby-changes] [2324] MacRuby/trunk/test_vm/exception.rb
source_changes at macosforge.org
source_changes at macosforge.org
Fri Aug 14 20:53:48 PDT 2009
Revision: 2324
http://trac.macosforge.org/projects/ruby/changeset/2324
Author: vincent.isambart at gmail.com
Date: 2009-08-14 20:53:45 -0700 (Fri, 14 Aug 2009)
Log Message:
-----------
added failing test
Modified Paths:
--------------
MacRuby/trunk/test_vm/exception.rb
Modified: MacRuby/trunk/test_vm/exception.rb
===================================================================
--- MacRuby/trunk/test_vm/exception.rb 2009-08-14 18:56:16 UTC (rev 2323)
+++ MacRuby/trunk/test_vm/exception.rb 2009-08-15 03:53:45 UTC (rev 2324)
@@ -247,3 +247,13 @@
end
end
}
+
+assert '42', %{
+ def bar(arg)
+ return 42 if arg == 1
+ return a
+ ensure
+ nil
+ end
+ p bar(1)
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090814/b20bab20/attachment.html>
More information about the macruby-changes
mailing list