-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Implement capture_io for ex_unit #1059
Conversation
Looks nice.
|
Thanks.
|
I would create Thanks @mururu, this is an awesome job! |
I have pushed the @josevalim |
Updated the commit. |
:erlang.process_flag(:priority, p) | ||
group_leader_loop(runner, wait, buf) | ||
:stop -> | ||
receive after: (2 -> :ok) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is the reason for 2
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, this line is not need. I'll remove it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For what is worth, I think none of the io implementations in otp use a gen server (not the file ones and not the one in eunit)
Implement capture_io for ex_unit
❤️ 💚 💙 💛 💜 |
Closes #1035.