We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7daf8e commit 9d30f4bCopy full SHA for 9d30f4b
src/config/keyboard.rs
@@ -144,27 +144,3 @@ pub enum Error {
144
#[error("{0}")]
145
Parse(String),
146
}
147
-
148
-#[cfg(test)]
149
-mod tests {
150
- use smol_str::SmolStr;
151
152
- use super::*;
153
154
- #[test]
155
- fn key_compared_ok() {
156
- let iced_key = iced::keyboard::Key::Character(SmolStr::new("c"));
157
- let iced_location = iced::keyboard::Location::Standard;
158
- let keyspec = KeySpec {
159
- key: Key::Character("c".to_string()),
160
- location: Location::Standard,
161
- width_ratio: 1.0,
162
- label1: "label1".to_string(),
163
- label2: "label2".to_string(),
164
- };
165
- assert!(
166
- keyspec.eq(iced_key, iced_location),
167
- "C key should be found equal"
168
- )
169
- }
170
-}
0 commit comments