           unquote(expected) = received -> received
         after
           unquote(timeout) ->
-            flunk unquote(message) || "Expected to have received message matching #{unquote binary}"
+            flunk unquote(message)
         end
       end
 


  defp do_assert_receive(expected, timeout, message) do
    binary = Macro.to_string(expected)

    { :receive, meta, args } =
      quote do

  end

  defp do_refute_receive(not_expected, timeout, message) do
    receive_clause = refute_receive_recv(not_expected, message)

    quote do
      receive do
        unquote(receive_clause)
      after
        unquote(timeout) -> false
      end
    end
  end

 defp refute_receive_recv(not_expected, nil) do
  binary = Macro.to_string(not_expected)
  quote do
    unquote(not_expected) = actual ->
      flunk "Expected to not have received message matching #{unquote binary}, got #{inspect actual}"
    end
  end

  defp refute_receive_recv(not_expected, message) do
    quote do
      unquote(not_expected) -> flunk unquote(message)
    end
  end

