[macruby-changes] [2067] MacRuby/branches/experimental/test_vm/block.rb
source_changes at macosforge.org
source_changes at macosforge.org
Thu Jul 23 22:18:18 PDT 2009
Revision: 2067
http://trac.macosforge.org/projects/ruby/changeset/2067
Author: lsansonetti at apple.com
Date: 2009-07-23 22:18:17 -0700 (Thu, 23 Jul 2009)
Log Message:
-----------
adding one more failing test
Modified Paths:
--------------
MacRuby/branches/experimental/test_vm/block.rb
Modified: MacRuby/branches/experimental/test_vm/block.rb
===================================================================
--- MacRuby/branches/experimental/test_vm/block.rb 2009-07-24 05:09:48 UTC (rev 2066)
+++ MacRuby/branches/experimental/test_vm/block.rb 2009-07-24 05:18:17 UTC (rev 2067)
@@ -182,6 +182,7 @@
assert "42", "begin p proc { break 24 }.call rescue LocalJumpError; p 42 end"
assert "42", "def foo; yield; end; foo { break }; 1.times {p 42}"
assert "42", "1.times { begin; break; ensure; p 42; end }"
+assert "42", "i=0; while i<1000; begin; break; ensure; p 42; end; end"
assert "42", "p [42].map { |x| x }.map { |y| y }[0]"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090723/3939d91d/attachment-0001.html>
More information about the macruby-changes
mailing list