Skip to content

Commit b8fc879

Browse files
authored
Fix for high_score_test.exs
There's a bug in the test at line 140. |> HighScore.update_score("José Valim", 486_373) It asserts against a different number 486_374
1 parent 436bc95 commit b8fc879

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

exercises/concept/high-score/test/high_score_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ defmodule HighScoreTest do
137137
HighScore.new()
138138
|> HighScore.add_player("José Valim")
139139
|> HighScore.update_score("José Valim", 1)
140-
|> HighScore.update_score("José Valim", 486_373)
140+
|> HighScore.update_score("José Valim", 486_374)
141141

142142
assert scores == %{"José Valim" => 486_374}
143143
end

0 commit comments

Comments
 (0)