class RuboCop::Cop::Minitest::ReturnInTestMethod

def on_return(node)

def on_return(node)
  return unless node.ancestors.any? { |parent| test_case?(parent) }
  return if inside_block?(node)
  add_offense(node) do |corrector|
    corrector.replace(node, 'skip')
  end
end