Skip to content

Commit

Permalink
make it more obvious that booleans are atoms
Browse files Browse the repository at this point in the history
  • Loading branch information
foucist committed Aug 19, 2020
1 parent 34000e5 commit b9fdcc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/koans/04_atoms.ex
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ defmodule Atoms do
koan "It is surprising to find out that booleans are atoms" do
assert is_atom(true) == ___
assert is_boolean(false) == ___
assert true == ___
assert false == ___
assert :true == ___
assert :false == ___
end

koan "Like booleans, the nil value is also an atom" do
Expand Down

0 comments on commit b9fdcc6

Please sign in to comment.