class RuboCop::Cop::Minitest::LiteralAsActualArgument

def autocorrect(corrector, node, expected, actual)

def autocorrect(corrector, node, expected, actual)
  new_actual_source = if actual.hash_type? && !actual.braces?
                        "{#{actual.source}}"
                      else
                        actual.source
                      end
  corrector.replace(expected, new_actual_source)
  corrector.replace(actual, expected.source)
  wrap_with_parentheses(corrector, node) if !node.parenthesized? && actual.hash_type?
end