From b18a149add20e4288b6476dd97cbc824d3bb75a3 Mon Sep 17 00:00:00 2001 From: Oliver Weber Date: Thu, 20 Oct 2022 20:07:21 +0700 Subject: [PATCH] Fix: Hashmaps 3 exercise The test assertion did not match the provided results string --- exercises/hashmaps/hashmaps3.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/hashmaps/hashmaps3.rs b/exercises/hashmaps/hashmaps3.rs index 18dd44c9..eafd1175 100644 --- a/exercises/hashmaps/hashmaps3.rs +++ b/exercises/hashmaps/hashmaps3.rs @@ -73,8 +73,8 @@ mod tests { fn validate_team_score_1() { let scores = build_scores_table(get_results()); let team = scores.get("England").unwrap(); - assert_eq!(team.goals_scored, 5); - assert_eq!(team.goals_conceded, 4); + assert_eq!(team.goals_scored, 4); + assert_eq!(team.goals_conceded, 2); } #[test]