mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-22 14:02:22 -05:00
Merge pull request #385 from siobhanjacobson/fix-enums3-test
This commit is contained in:
commit
1b4590b42b
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ mod tests {
|
||||||
};
|
};
|
||||||
state.process(Message::ChangeColor(255, 0, 255));
|
state.process(Message::ChangeColor(255, 0, 255));
|
||||||
state.process(Message::Echo(String::from("hello world")));
|
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);
|
state.process(Message::Quit);
|
||||||
|
|
||||||
assert_eq!(state.color, (255, 0, 255));
|
assert_eq!(state.color, (255, 0, 255));
|
||||||
|
|
Loading…
Reference in a new issue