Skip to content

Commit e8cdfca

Browse files
fix missing assertion
1 parent a40d068 commit e8cdfca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/pointing_party/vote_calculator_test.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ defmodule PointingParty.VoteCalculatorTest do
4949

5050
cond do
5151
is_list(winner) ->
52-
winner <= max_vote
52+
assert Enum.max(winner) <= max_vote
5353

5454
is_integer(winner) ->
55-
winner <= max_vote
55+
assert winner <= max_vote
5656
end
5757
end
5858
end

0 commit comments

Comments
 (0)