Revision: 1163 http://trac.macosforge.org/projects/ruby/changeset/1163 Author: lsansonetti@apple.com Date: 2009-03-25 23:00:53 -0700 (Wed, 25 Mar 2009) Log Message: ----------- a new 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-26 06:00:39 UTC (rev 1162) +++ MacRuby/branches/experimental/test_roxor.rb 2009-03-26 06:00:53 UTC (rev 1163) @@ -1044,6 +1044,7 @@ assert ":ok", "begin; p :ok; rescue; end" assert ":ok", "begin; raise; p :nok; rescue; p :ok; end" + assert ":ok", "begin; raise; p :nok; ensure; p :ok; end" assert "42", "x = 40; begin; x += 1; rescue; ensure; x += 1; end; p x" assert "42", "x = 40; begin; raise; x = nil; rescue; x += 1; ensure; x += 1; end; p x"