Revision
1171
Author
eloy.de.enige@gmail.com
Date
2009-03-26 15:54:05 -0700 (Thu, 26 Mar 2009)

Log Message

Tagged current failing examples in block and break specs and added them to the green list of specs.

Modified Paths

Diff

Modified: MacRuby/branches/experimental/rakelib/spec.rake (1170 => 1171)


--- MacRuby/branches/experimental/rakelib/spec.rake	2009-03-26 22:53:50 UTC (rev 1170)
+++ MacRuby/branches/experimental/rakelib/spec.rake	2009-03-26 22:54:05 UTC (rev 1171)
@@ -2,6 +2,8 @@
   KNOWN_GOOD = %w{
     and
     array
+    block
+    break
     case
     class_variable
     defined

Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/language/block_tags.txt (1170 => 1171)


--- MacRuby/branches/experimental/spec/frozen/tags/macruby/language/block_tags.txt	2009-03-26 22:53:50 UTC (rev 1170)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/language/block_tags.txt	2009-03-26 22:54:05 UTC (rev 1171)
@@ -1 +1,2 @@
+fails:A block with a 'rest' arg collects all of the arguments passed to yield
 critical:A block whose arguments are splatted yields the correct arguments in a nested block
\ No newline at end of file

Modified: MacRuby/branches/experimental/spec/frozen/tags/macruby/language/break_tags.txt (1170 => 1171)


--- MacRuby/branches/experimental/spec/frozen/tags/macruby/language/break_tags.txt	2009-03-26 22:53:50 UTC (rev 1170)
+++ MacRuby/branches/experimental/spec/frozen/tags/macruby/language/break_tags.txt	2009-03-26 22:54:05 UTC (rev 1171)
@@ -1 +1,12 @@
-critical:The break statement raises a SyntaxError if used not within block or while/for loop
\ No newline at end of file
+fails:Executing break from within a block returns from the invoking singleton method
+fails:Executing break from within a block returns from the invoking method with the argument to break
+fails:Executing break from within a block returns from the original invoking method even in case of chained calls
+fails:Breaking out of a loop with a value assigns objects
+fails:Breaking out of a loop with a value assigns splatted objects
+fails:Breaking out of a loop with a value assigns to a splatted reference
+fails:Breaking out of a loop with a value assigns splatted objects to a splatted reference
+fails:Breaking out of a loop with a value assigns splatted objects to a splatted reference from a splatted loop
+fails:Breaking out of a loop with a value assigns objects to multiple block variables
+fails:Breaking out of a loop with a value assigns splatted objects to multiple block variables
+fails:Breaking out of a loop with a value stops any loop type at the correct spot
+fails:Breaking out of a loop with a value stops a yielded method at the correct spot
\ No newline at end of file