Skip to content

Commit

Permalink
Merge pull request #385 from siobhanjacobson/fix-enums3-test
Browse files Browse the repository at this point in the history
  • Loading branch information
fmoko authored May 5, 2020
2 parents 7c4b1f9 + 09e89bb commit 1b4590b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/enums/enums3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ mod tests {
};
state.process(Message::ChangeColor(255, 0, 255));
state.process(Message::Echo(String::from("hello world")));
state.process(Message::Move{ x: 10, y: 15 });
state.process(Message::Move(Point{ x: 10, y: 15 }));
state.process(Message::Quit);

assert_eq!(state.color, (255, 0, 255));
Expand Down

0 comments on commit 1b4590b

Please sign in to comment.