-
Notifications
You must be signed in to change notification settings - Fork 4
Implement tests for callLocal #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
expect) | ||
(do liftIO $ writeIORef ibox True)) | ||
(send keeper ()) | ||
caller <- expect |
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.
This expect
call is unnecessary if the caller
is sent by the worker instead of ()
.
How about testing that |
Agree with @facundominguez here I think. |
Sorry, forgot to add that to PR. Done |
Can we take a look at this PR once again? |
True <- readIORef ibox | ||
return () | ||
|
||
-- Test that worker waits for the caller in correct situation |
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.
Exchange worker and caller terms.
👍 |
No description provided.