OK, so I figured out that "_=" actually has effect because if I remove _=
from line 205 in logger.ex the tests fails.
$ git diff
diff --git a/lib/logger/lib/logger.ex b/lib/logger/lib/logger.ex
index 0ef5ede..644ffcb 100644
--- a/lib/logger/lib/logger.ex
+++ b/lib/logger/lib/logger.ex
@@ -402,7 +402,7 @@ defmodule Logger do
"""
@spec flush :: :ok
def flush do
- _ = GenEvent.which_handlers(:error_logger)
+ GenEvent.which_handlers(:error_logger)
GenEvent.sync_notify(Logger, :flush)
end
$ make clean test
......
1) test drop/2 with negative count stream entries (StreamTest)
test/elixir/stream_test.exs:202
No message matching {:stream, 1} after 100ms.
The process mailbox is empty.
stacktrace:
test/elixir/stream_test.exs:215: (test)
Can someone please help me understand?
>
--
You received this message because you are subscribed to the Google Groups
"elixir-lang-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elixir-lang-talk/8eff2066-5f51-4ef6-acb7-2b49528cb67d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.