class RuboCop::Cop::RSpec::UnspecifiedException

def empty_exception_matcher?(node)

def empty_exception_matcher?(node)
  return false if node.arguments? || node.block_literal?
  expect_to = find_expect_to(node)
  return false unless expect_to
  return false if expect_to.block_node&.arguments?
  true
end