Removed useless 'initial' var

@person module attribute can be used instead
This commit is contained in:
Daniele Megna
2017-09-07 14:31:14 +02:00
parent 774a7a2d12
commit 1c5cf730d8

View File

@@ -53,7 +53,6 @@ defmodule Maps do
end
koan "You can also select sub-maps out of a larger map" do
initial = %{first_name: "Jon", last_name: "Snow", age: 15}
assert Map.take(initial, [:first_name, :last_name]) == ___
assert Map.take(@person, [:first_name, :last_name]) == ___
end
end