Fix compiler warning

This commit is contained in:
Uku Taht
2016-03-08 15:16:34 +02:00
parent 1963fdb46b
commit 9a217b47ed

View File

@@ -8,7 +8,7 @@ defmodule Tasks do
end
koan "if you don't need a result, use start_link/1" do
{:ok, pid} = Task.start_link(fn -> 1+1 end)
{:ok, _pid} = Task.start_link(fn -> 1+1 end)
end
koan "yield returns nil if the task isn't done yet" do