Add nil example to the atoms koans

This commit is contained in:
Tom Gurion
2017-04-22 22:57:52 +01:00
parent ca97177b99
commit e64394fbaa
2 changed files with 6 additions and 0 deletions

View File

@@ -14,4 +14,9 @@ defmodule Atoms do
assert :true == ___
assert :false == ___
end
koan "Like booleans, the nil value is also an atom" do
assert is_atom(nil) == ___
assert :nil == ___
end
end