Revision: 1136 http://trac.macosforge.org/projects/ruby/changeset/1136 Author: eloy.de.enige@gmail.com Date: 2009-03-24 07:37:21 -0700 (Tue, 24 Mar 2009) Log Message: ----------- Added some critical tags for examples which cause execution of the spec runner to completely halt. Modified Paths: -------------- MacRuby/branches/experimental/spec/frozen/language/class_spec.rb MacRuby/branches/experimental/spec/frozen/tags/macruby/language/block_tags.txt MacRuby/branches/experimental/spec/frozen/tags/macruby/language/class_tags.txt Added Paths: ----------- MacRuby/branches/experimental/spec/frozen/tags/macruby/language/break_tags.txt Modified: MacRuby/branches/experimental/spec/frozen/language/class_spec.rb =================================================================== --- MacRuby/branches/experimental/spec/frozen/language/class_spec.rb 2009-03-24 14:37:05 UTC (rev 1135) +++ MacRuby/branches/experimental/spec/frozen/language/class_spec.rb 2009-03-24 14:37:21 UTC (rev 1136) @@ -44,7 +44,7 @@ }.should raise_error(TypeError) end - it "allows using self as the superclass iff self is a class" do + it "allows using self as the superclass if self is a class" do ClassSpecs::I::J.superclass.should == ClassSpecs::I lambda { Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/language/block_tags.txt =================================================================== --- MacRuby/branches/experimental/spec/frozen/tags/macruby/language/block_tags.txt 2009-03-24 14:37:05 UTC (rev 1135) +++ MacRuby/branches/experimental/spec/frozen/tags/macruby/language/block_tags.txt 2009-03-24 14:37:21 UTC (rev 1136) @@ -1 +1 @@ -critical:A block whose arguments are splatted yields the correct arguments in a nested block \ No newline at end of file +critical:A block whose arguments are splatted yields the correct arguments in a nested block Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/language/break_tags.txt =================================================================== --- MacRuby/branches/experimental/spec/frozen/tags/macruby/language/break_tags.txt (rev 0) +++ MacRuby/branches/experimental/spec/frozen/tags/macruby/language/break_tags.txt 2009-03-24 14:37:21 UTC (rev 1136) @@ -0,0 +1 @@ +critical:The break statement raises a SyntaxError if used not within block or while/for loop \ No newline at end of file Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/language/class_tags.txt =================================================================== --- MacRuby/branches/experimental/spec/frozen/tags/macruby/language/class_tags.txt 2009-03-24 14:37:05 UTC (rev 1135) +++ MacRuby/branches/experimental/spec/frozen/tags/macruby/language/class_tags.txt 2009-03-24 14:37:21 UTC (rev 1136) @@ -6,3 +6,7 @@ fails:A class definition allows the definition of class-level instance variables in a class method fails:A class definition allows the declaration of class variables in an instance method fails:An outer class definition contains the inner classes +critical:A class definition raises TypeError if the constant qualifying the class is nil +critical:A class definition allows using self as the superclass if self is a class +critical:A Class Definitions extending an object raises a TypeError when trying to extend numbers +critical:Reopening a class raises a TypeError when superclasses mismatch
participants (1)
-
source_changes@macosforge.org