[macruby-changes] [1771] MacRuby/branches/experimental/spec/frozen
source_changes at macosforge.org
source_changes at macosforge.org
Fri Jun 5 21:46:41 PDT 2009
Revision: 1771
http://trac.macosforge.org/projects/ruby/changeset/1771
Author: lsansonetti at apple.com
Date: 2009-06-05 21:46:40 -0700 (Fri, 05 Jun 2009)
Log Message:
-----------
fixed a typo in the push spec + removed the push tags file since we pass all the specs
Modified Paths:
--------------
MacRuby/branches/experimental/spec/frozen/core/array/push_spec.rb
Removed Paths:
-------------
MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/push_tags.txt
Modified: MacRuby/branches/experimental/spec/frozen/core/array/push_spec.rb
===================================================================
--- MacRuby/branches/experimental/spec/frozen/core/array/push_spec.rb 2009-06-06 04:46:03 UTC (rev 1770)
+++ MacRuby/branches/experimental/spec/frozen/core/array/push_spec.rb 2009-06-06 04:46:40 UTC (rev 1771)
@@ -25,7 +25,7 @@
array.push(:last).should == [1, 'two', 3.0, array, array, array, array, array, :last]
end
- ruby_version_is "" .. "1.9" do
+ ruby_version_is "" ... "1.9" do
it "raises a TypeError on a frozen array if modification takes place" do
lambda { ArraySpecs.frozen_array.push(1) }.should raise_error(TypeError)
end
Deleted: MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/push_tags.txt
===================================================================
--- MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/push_tags.txt 2009-06-06 04:46:03 UTC (rev 1770)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/core/array/push_tags.txt 2009-06-06 04:46:40 UTC (rev 1771)
@@ -1,3 +0,0 @@
-fails:Array#push raises a TypeError on a frozen array if modification takes place
-fails:Array#push Raise a RuntimeError on a frozen array if no modification is made too
-fails:Array#push raises a RuntimeError on a frozen array
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090605/f13cfe71/attachment.html>
More information about the macruby-changes
mailing list