Revision: 1300 http://trac.macosforge.org/projects/ruby/changeset/1300 Author: vincent.isambart@gmail.com Date: 2009-04-03 03:43:11 -0700 (Fri, 03 Apr 2009) Log Message: ----------- added failing test Modified Paths: -------------- MacRuby/branches/experimental/test_roxor.rb Modified: MacRuby/branches/experimental/test_roxor.rb =================================================================== --- MacRuby/branches/experimental/test_roxor.rb 2009-04-03 07:51:08 UTC (rev 1299) +++ MacRuby/branches/experimental/test_roxor.rb 2009-04-03 10:43:11 UTC (rev 1300) @@ -1074,6 +1074,15 @@ p a.call } + assert "2\n1", %{ + def f(x, y) + 1.times { + f(2, false) if y + p x + } + end + f(1, true) + } end test "exception" do
participants (1)
-
source_changes@macosforge.org