Skip to content

Commit 1b4590b

Browse files
author
fmoko
authored
Merge pull request #385 from siobhanjacobson/fix-enums3-test
2 parents 7c4b1f9 + 09e89bb commit 1b4590b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/enums/enums3.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ mod tests {
5353
};
5454
state.process(Message::ChangeColor(255, 0, 255));
5555
state.process(Message::Echo(String::from("hello world")));
56-
state.process(Message::Move{ x: 10, y: 15 });
56+
state.process(Message::Move(Point{ x: 10, y: 15 }));
5757
state.process(Message::Quit);
5858

5959
assert_eq!(state.color, (255, 0, 255));

0 commit comments

Comments
 (0)