       case pattern do
         {:when, meta, [left, right]} ->
           {:when, meta, [quote(do: unquote(left) = received), right]}
+
         left ->
           quote(do: unquote(left) = received)
       end

            if Enum.any?(messages, unquote(pattern_finder)) do
              flunk(unquote(failure_message_hit))
            else
              flunk(unquote(failure_message_miss) <>
                    ExUnit.Assertions.__pins__(unquote(pins)) <>
                    ExUnit.Assertions.__mailbox__(messages))
            end
        end


      refute_receive :bye, 1000

  """
  defmacro refute_receive(
             pattern,
             timeout \\ Application.fetch_env!(:ex_unit, :refute_receive_timeout),
             failure_message \\ nil
           ) do
    do_refute_receive(pattern, timeout, failure_message)
  end

