mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-11 21:29:18 +00:00
Fix: Hashmaps 3 exercise
The test assertion did not match the provided results string
This commit is contained in:
parent
b17295b36f
commit
b18a149add
@ -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]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user