 -          return true if x == 2
 -          raise raise StandardError, 'Oops' if x == 3
 +          case x
++          when 2 then true
 +          when 3 then raise StandardError, 'Oops'
-+          when 2 then true
 +          else false
 +          end
          end

diff --git a/spec/ruby/core/array/fixtures/classes.rb b/spec/ruby/core/array/fixtures/classes.rb
index 4292554724..50decfd205 100644
--- a/spec/ruby/core/array/fixtures/classes.rb

       end
 
       a.should == [1, 3, 4]
