Remove unhelpful example

Not really useful without showing dot access.
This commit is contained in:
Jay Hayes
2016-05-05 10:42:57 -05:00
parent ee89055af6
commit 948fbddcdf
2 changed files with 0 additions and 9 deletions

View File

@@ -11,14 +11,6 @@ defmodule Atoms do
assert Atom.to_string(:stringified) == ___ assert Atom.to_string(:stringified) == ___
end end
koan "Atoms are often used as keys, because they're faster than strings" do
map = %{name: "Jay"}
list = [name: "Jay"]
assert map[:name] == ___
assert list[:name] == ___
end
koan "It is surprising to find out that booleans are atoms" do koan "It is surprising to find out that booleans are atoms" do
assert is_atom(true) == ___ assert is_atom(true) == ___
assert is_atom(false) == ___ assert is_atom(false) == ___

View File

@@ -6,7 +6,6 @@ defmodule AtomsTests do
answers = [ answers = [
:human, :human,
{:multiple, [:atomized, "stringified"]}, {:multiple, [:atomized, "stringified"]},
{:multiple, ["Jay", "Jay"]},
{:multiple, [true, true, true, false]}, {:multiple, [true, true, true, false]},
{:multiple, [true, String, "HELLO"]}, {:multiple, [true, String, "HELLO"]},
{:multiple, [true, [1,2,3]]}, {:multiple, [true, [1,2,3]]},