[macruby-changes] [1011] MacRuby/branches/experimental/test_roxor.rb

source_changes at macosforge.org source_changes at macosforge.org
Thu Mar 19 23:51:27 PDT 2009


Revision: 1011
          http://trac.macosforge.org/projects/ruby/changeset/1011
Author:   vincent.isambart at gmail.com
Date:     2009-03-19 23:51:26 -0700 (Thu, 19 Mar 2009)
Log Message:
-----------
fixed incorrect tests

Modified Paths:
--------------
    MacRuby/branches/experimental/test_roxor.rb

Modified: MacRuby/branches/experimental/test_roxor.rb
===================================================================
--- MacRuby/branches/experimental/test_roxor.rb	2009-03-20 06:50:16 UTC (rev 1010)
+++ MacRuby/branches/experimental/test_roxor.rb	2009-03-20 06:51:26 UTC (rev 1011)
@@ -878,8 +878,8 @@
 
   assert "42", "x = begin; 42; rescue; nil; end; p x"
   assert "42", "x = begin; raise; nil; rescue; 42; end; p x"
-  assert "42", "x = begin; nil; rescue; nil; ensure; 42; end; p x"
-  assert "42", "x = begin; raise; nil; rescue; nil; ensure; 42; end; p x"
+  assert "42", "x = begin; 42; rescue; nil; ensure; nil; end; p x"
+  assert "42", "x = begin; raise; nil; rescue; 42; ensure; nil; end; p x"
 
   assert "42", "x = 40; begin; x += 1; raise; rescue; retry if x < 42; end; p x"
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090319/1a3e29dc/attachment.html>


More information about the macruby-changes mailing list