Revision: 1187 http://trac.macosforge.org/projects/ruby/changeset/1187 Author: eloy.de.enige@gmail.com Date: 2009-03-26 16:37:38 -0700 (Thu, 26 Mar 2009) Log Message: ----------- Tagged failing examples of the throw spec and added it to the partially green list. Modified Paths: -------------- MacRuby/branches/experimental/rakelib/spec.rake Added Paths: ----------- MacRuby/branches/experimental/spec/frozen/tags/macruby/language/throw_tags.txt Modified: MacRuby/branches/experimental/rakelib/spec.rake =================================================================== --- MacRuby/branches/experimental/rakelib/spec.rake 2009-03-26 23:37:25 UTC (rev 1186) +++ MacRuby/branches/experimental/rakelib/spec.rake 2009-03-26 23:37:38 UTC (rev 1187) @@ -41,6 +41,7 @@ predefined private return + throw } MSPEC_RUN = "./miniruby -v -I./mspec/lib -I./lib ./mspec/bin/mspec-run" Added: MacRuby/branches/experimental/spec/frozen/tags/macruby/language/throw_tags.txt =================================================================== --- MacRuby/branches/experimental/spec/frozen/tags/macruby/language/throw_tags.txt (rev 0) +++ MacRuby/branches/experimental/spec/frozen/tags/macruby/language/throw_tags.txt 2009-03-26 23:37:38 UTC (rev 1187) @@ -0,0 +1,7 @@ +fails:The throw keyword abandons processing +fails:The throw keyword supports a second parameter +fails:The throw keyword only allows symbols and strings as it's argument +fails:The throw keyword unwinds stack from within a method +fails:The throw keyword unwinds stack from within a lambda +fails:The throw keyword raises a name error if outside of scope of a matching catch +fails:The throw keyword raises a ThreadError if used to exit a thread \ No newline at end of file
participants (1)
-
source_changes@macosforge.org