class RuboCop::Cop::Minitest::AssertMatch

def order_expected_and_actual(expected, actual)

def order_expected_and_actual(expected, actual)
  if actual.regexp_type?
    [actual, expected]
  else
    [expected, actual]
  end.map(&:source).join(', ')
end