-
Couldn't load subscription status.
- Fork 622
Closed
Description
elixir-koans/lib/koans/15_processes.ex
Lines 62 to 68 in f5e3f75
| koan "Received messages are queued, first in first out" do | |
| send(self(), "hola!") | |
| send(self(), "como se llama?") | |
| assert_receive ___ | |
| assert_receive ___ | |
| end |
# lib/koans/15_processes.ex. line 62
koan "Received messages are queued, first in first out" do
send(self(), "hola!")
send(self(), "como se llama?")
send(self(), "1")
send(self(), "2")
send(self(), "3")
assert_receive "1"
assert_receive "3"
assert_receive "como se llama?"
assert_receive "hola!"
assert_receive "2"
end
i tried wrong answer(?), but somehow it passed.
is this just my fault? or assert_receive acting weird?
Metadata
Metadata
Assignees
Labels
No labels