From 3765598fefae023bb2909fca934cd60ad5fab20a Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Fri, 29 Dec 2017 21:41:51 +0100 Subject: Fix failed tests Three was still a test which passed the whole modifiers struct instead of just the shift bool, this has been fixed. --- src/input.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/input.rs b/src/input.rs index 604ea06b..007c57bd 100644 --- a/src/input.rs +++ b/src/input.rs @@ -703,7 +703,7 @@ mod tests { }; if let Event::WindowEvent { event: WindowEvent::MouseInput { state, button, modifiers, .. }, .. } = $input { - processor.mouse_input(state, button, modifiers); + processor.mouse_input(state, button, modifiers.shift); }; assert!(match mouse.click_state { -- cgit