[macruby-changes] [1031] MacRuby/branches/experimental/test_roxor.rb
source_changes at macosforge.org
source_changes at macosforge.org
Fri Mar 20 17:39:52 PDT 2009
Revision: 1031
http://trac.macosforge.org/projects/ruby/changeset/1031
Author: eloy.de.enige at gmail.com
Date: 2009-03-20 17:39:52 -0700 (Fri, 20 Mar 2009)
Log Message:
-----------
Added failing test case for addition to an array.
Modified Paths:
--------------
MacRuby/branches/experimental/test_roxor.rb
Modified: MacRuby/branches/experimental/test_roxor.rb
===================================================================
--- MacRuby/branches/experimental/test_roxor.rb 2009-03-21 00:29:41 UTC (rev 1030)
+++ MacRuby/branches/experimental/test_roxor.rb 2009-03-21 00:39:52 UTC (rev 1031)
@@ -352,6 +352,9 @@
assert ':ok', "x = ': '; x[1,2] = 'ok'; puts x"
+ assert '42', "a=[4]; a += [2]; puts a.join"
+ assert '42', "a=[4,3,2]; a -= [3]; puts a.join"
+
end
test "constants" do
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090320/0f55363d/attachment.html>
More information about the macruby-changes
mailing list