We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d03f624 + c5231f0 commit 992e516Copy full SHA for 992e516
exercises/enums/enums3.rs
@@ -59,14 +59,14 @@ mod tests {
59
message: "hello world".to_string(),
60
};
61
state.process(Message::ChangeColor(255, 0, 255));
62
- state.process(Message::Echo(String::from("hello world")));
+ state.process(Message::Echo(String::from("Hello world!")));
63
state.process(Message::Move(Point { x: 10, y: 15 }));
64
state.process(Message::Quit);
65
66
assert_eq!(state.color, (255, 0, 255));
67
assert_eq!(state.position.x, 10);
68
assert_eq!(state.position.y, 15);
69
assert_eq!(state.quit, true);
70
- assert_eq!(state.message, "hello world");
+ assert_eq!(state.message, "Hello world!");
71
}
72
0 commit comments