Remove process about killing others 😆
This commit is contained in:
@@ -21,14 +21,6 @@ defmodule Processes do
|
|||||||
assert Process.alive?(pid) == ___
|
assert Process.alive?(pid) == ___
|
||||||
end
|
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
|
koan "However, trying to exit normally has no effect" do
|
||||||
pid = spawn(fn -> receive do end end)
|
pid = spawn(fn -> receive do end end)
|
||||||
Process.exit(pid, :normal)
|
Process.exit(pid, :normal)
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ defmodule ProcessesTests do
|
|||||||
:running,
|
:running,
|
||||||
true,
|
true,
|
||||||
true,
|
true,
|
||||||
{:multiple, [true, false]},
|
|
||||||
true,
|
true,
|
||||||
"hola!",
|
"hola!",
|
||||||
:how_are_you?,
|
:how_are_you?,
|
||||||
|
|||||||
Reference in New Issue
Block a user