elixir-lang/elixir — pull request #2720 by edgurgel (2014-08-26 10:18:27+00:00)
Title: Print process mailbox on failing assert_receive

After almost one year (https://github.com/elixir-lang/elixir/pull/1728), that's my second attempt to make assert_receive(d) error messages better.

When assert_receive fails we don't know if we have any message received or we just matched the wrong pattern. My proposal is: print the mailbox of the process.

Is it something desirable?