[macruby-changes] [1282] MacRuby/branches/experimental/test_roxor.rb
source_changes at macosforge.org
source_changes at macosforge.org
Tue Mar 31 13:55:46 PDT 2009
Revision: 1282
http://trac.macosforge.org/projects/ruby/changeset/1282
Author: lsansonetti at apple.com
Date: 2009-03-31 13:55:46 -0700 (Tue, 31 Mar 2009)
Log Message:
-----------
added a failing test
Modified Paths:
--------------
MacRuby/branches/experimental/test_roxor.rb
Modified: MacRuby/branches/experimental/test_roxor.rb
===================================================================
--- MacRuby/branches/experimental/test_roxor.rb 2009-03-31 11:05:18 UTC (rev 1281)
+++ MacRuby/branches/experimental/test_roxor.rb 2009-03-31 20:55:46 UTC (rev 1282)
@@ -1064,8 +1064,9 @@
}
assert '42', "x=42; 1.times { 1.times { 1.times { p x } } }"
+ assert '42', "def f; 1.times { yield 42 }; end; f {|x| p x}"
+ assert '42', "def foo; x = 42; proc { x }; end; p foo.call"
- assert '42', "def f; 1.times { yield 42 }; end; f {|x| p x}"
end
test "exception" do
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090331/82709235/attachment.html>
More information about the macruby-changes
mailing list