fixes typos and some formatting

This commit is contained in:
Rabea Gleissner
2016-04-22 15:04:59 +01:00
parent 52ac7955e5
commit ee084b4563
8 changed files with 11 additions and 12 deletions

View File

@@ -15,7 +15,7 @@ defmodule Agents do
assert Agent.get(__MODULE__, &(&1)) == ___
end
koan "Use get_and_update when you need read and change a value in one go" do
koan "Use get_and_update when you need to read and change a value in one go" do
Agent.start_link(fn() -> ["Milk"] end, name: __MODULE__)
old_list = Agent.get_and_update(__MODULE__, fn(old) ->