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

source_changes at macosforge.org source_changes at macosforge.org
Tue Mar 17 17:42:44 PDT 2009


Revision: 974
          http://trac.macosforge.org/projects/ruby/changeset/974
Author:   lsansonetti at apple.com
Date:     2009-03-17 17:42:43 -0700 (Tue, 17 Mar 2009)
Log Message:
-----------
fixed a test (puts on Array doesn't work as it should, will cover this in another test)

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

Modified: MacRuby/branches/experimental/test_roxor.rb
===================================================================
--- MacRuby/branches/experimental/test_roxor.rb	2009-03-18 00:37:43 UTC (rev 973)
+++ MacRuby/branches/experimental/test_roxor.rb	2009-03-18 00:42:43 UTC (rev 974)
@@ -741,7 +741,7 @@
   assert "42", "p proc { next 42 }.call"
   assert "42", "p proc { break 42 }.call"
 
-  assert "42", "puts [42].map { |x| x }.map { |y| y }"
+  assert "42", "p [42].map { |x| x }.map { |y| y }[0]"
 
   assert ":ok", "proc { retry }; p :ok"
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090317/ac6a46f4/attachment-0001.html>


More information about the macruby-changes mailing list