Make sure blank is on the right and improve koans

This commit is contained in:
Felipe Sere
2016-04-23 10:56:17 +01:00
parent 29da6d92a0
commit 14d4e4f551
11 changed files with 46 additions and 55 deletions

View File

@@ -30,9 +30,8 @@ defmodule Processes do
koan "Waiting for a message can get boring" do
parent = self()
spawn(fn -> receive do
_anything -> flunk "I really wasn't expecting messages"
after
10 -> send parent, {:waited_too_long, "I am impatient"}
5 -> send parent, {:waited_too_long, "I am impatient"}
end
end)