Fix punctuation

This commit is contained in:
Felipe Sere
2016-03-21 19:11:21 +00:00
parent a0bb840cfc
commit b95d4f1202
4 changed files with 26 additions and 28 deletions

View File

@@ -2,11 +2,11 @@ defmodule Processes do
use Koans
koan "Tests run in a process" do
assert Process.alive?(:__)
assert Process.alive?(self()) == :__
end
koan "You can ask a process to introduce itself" do
information = Process.info(self)
information = Process.info(self())
assert information[:status] == :__
end
@@ -76,7 +76,7 @@ defmodule Processes do
assert Process.alive?(pid) == :__
end
koan "Exiting yourself on the other hand DOES termiante you" do
koan "Exiting yourself on the other hand DOES terminate you" do
pid = spawn(fn -> receive do
:bye -> Process.exit(self(), :normal)
end