Skip to content

Commit

Permalink
fix how list is assigned
Browse files Browse the repository at this point in the history
  • Loading branch information
Francisco Rojas committed Dec 18, 2015
1 parent 8956bea commit 012164e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions about_enums.exs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ defmodule About_Enums do
end

think "fetch! will raise an exception if it can't find an element" do
list [:a, :b, :c]
list = [:a, :b, :c]
assert_raise __?, Enum.fetch!(list, 4)
end

Expand Down Expand Up @@ -199,7 +199,7 @@ defmodule About_Enums do
end
think "what's the minimum value in this list?" do
list [6, 1, 5, 2, 4, 3]
list = [6, 1, 5, 2, 4, 3]
assert Enum.min(list) == __?
end
Expand Down

0 comments on commit 012164e

Please sign in to comment.