Replace test imports with super::*
Browse files at this commitbc64452bab931dca44a114bd90f9441b8de0c6cdParent: 155a2391 changed file +1 -5
- src/input.rs +1 -5
src/input.rsmodified+1 -5
| @@ -945,11 +945,7 @@ fn should_activate_monitors<I: InputBackend>(event: &InputEvent<I>) -> bool { | |||
| 945 | 945 | ||
| 946 | #[cfg(test)] | 946 | #[cfg(test)] |
| 947 | mod tests { | 947 | mod tests { |
| 948 | - use std::collections::HashSet; | 948 | + use super::*; |
| 949 | - | ||
| 950 | - use smithay::input::keyboard::{FilterResult, Keysym, ModifiersState}; | ||
| 951 | - | ||
| 952 | - use super::{should_intercept_key, CompositorMod}; | ||
| 953 | use crate::config::{Action, Bind, Binds, Key, Modifiers}; | 949 | use crate::config::{Action, Bind, Binds, Key, Modifiers}; |
| 954 | 950 | ||
| 955 | #[test] | 951 | #[test] |