Fix failed tests

Three was still a test which passed the whole modifiers struct instead
of just the shift bool, this has been fixed.
This commit is contained in:
Christian Duerr authored and Joe Wilm committed 2018-01-03 11:15:57 -08:00
1 parent 04bfda943a
commit 3765598fef
1 file changed
+1 -1
+1 -1
View File
@@ -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 {