Remove process about killing others 😆

This commit is contained in:
Jay Hayes
2016-05-04 15:13:35 -05:00
parent f7cced5913
commit 4e4e35f575
2 changed files with 0 additions and 9 deletions

View File

@@ -21,14 +21,6 @@ defmodule Processes do
assert Process.alive?(pid) == ___
end
koan "You can kill processes other than yourself" do
pid = spawn(fn -> receive do end end)
assert Process.alive?(pid) == ___
Process.exit(pid, :kill)
assert Process.alive?(pid) == ___
end
koan "However, trying to exit normally has no effect" do
pid = spawn(fn -> receive do end end)
Process.exit(pid, :normal)