From 71ac0fcaa60f4b62cfd61df1cbae8fa537318248 Mon Sep 17 00:00:00 2001 From: yukihane Date: Tue, 30 Jun 2020 20:25:09 +0900 Subject: [PATCH] Update Message::ChangeColor in the enums3 test to take a tuple. --- exercises/enums/enums3.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/enums/enums3.rs b/exercises/enums/enums3.rs index 4b0be97520..e9621b8e98 100644 --- a/exercises/enums/enums3.rs +++ b/exercises/enums/enums3.rs @@ -51,7 +51,7 @@ mod tests { position: Point{ x: 0, y: 0 }, color: (0, 0, 0) }; - 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::Move(Point{ x: 10, y: 15 })); state.process(Message::Quit);