Skip to content

Commit 9d30f4b

Browse files
committed
Remove unclear test
1 parent b7daf8e commit 9d30f4b

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

src/config/keyboard.rs

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -144,27 +144,3 @@ pub enum Error {
144144
#[error("{0}")]
145145
Parse(String),
146146
}
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

Comments
 (0)