COMMIT Rescue specs dealing with 'begin ... rescue ... else ... end' behavior http://github.com/rubyspec/rubyspec/commit/082aede043a8e4e7a0ca3fdd50663de89d1b1609 COMMIT Remove empty else_spec -- there is no standalone 'else' http://github.com/rubyspec/rubyspec/commit/d618ee1d52f74a21515110cd3c1178fc982694a4 =================================================================== +++ 20100617T061924 @@ 11 @@ URL: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8 ?\227?\131?\170?\227?\131?\157?\227?\130?\184?\227?\131?\136?\227?\131?\170?\227?\129?\174?\227?\131?\171?\227?\131?\188?\227?\131?\136: http://svn.ruby-lang.org/repos/ruby ?\227?\131?\170?\227?\131?\157?\227?\130?\184?\227?\131?\136?\227?\131?\170 UUID: b2dd03c8-39d4-4d8f-98ff-823fe69b080e +?\227?\131?\170?\227?\131?\147?\227?\130?\184?\227?\131?\167?\227?\131?\179: 28341 ?\227?\131?\142?\227?\131?\188?\227?\131?\137?\231?\168?\174?\229?\136?\165: ?\227?\131?\135?\227?\130?\163?\227?\131?\172?\227?\130?\175?\227?\131?\136?\227?\131?\170 ?\230?\186?\150?\229?\130?\153?\228?\184?\173?\227?\129?\174?\229?\135?\166?\231?\144?\134: ?\231?\137?\185?\227?\129?\171?\227?\129?\170?\227?\129?\151 ?\230?\156?\128?\231?\181?\130?\229?\164?\137?\230?\155?\180?\232?\128?\133: svn @@ 22769 @@ - can rescue multiple raised exceptions with a single rescue block - can rescue a splatted list of exceptions - will only rescue the specified exceptions when doing a splat rescue +- will execute an else block only if no exceptions were raised +- will not execute an else block if an exception was raised +- will not rescue errors raised in an else block in the rescue block above it /Users/chkbuild/chkbuild/tmp/build/ruby-1.8//rubyspec/language/retry_spec.rb The retry statement @@ 38129 @@ Finished in seconds +3204 files, 13281 examples, expectations, 71 failures, 77 errors exit 1 failed(rubyspec) == end #