Skip to content

Commit 03f46c4

Browse files
committed
Test
1 parent f3c1382 commit 03f46c4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

editor/src/messages/input_preprocessor/input_preprocessor_message_handler.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,8 @@ mod test {
357357
key_down(&mut input_preprocessor, Key::Space, &mut responses);
358358

359359
assert!(!responses.contains(&InputMapperMessage::DoubleTap(Key::Space).into()));
360+
assert!(responses.contains(&InputMapperMessage::KeyDown(Key::Space).into()));
361+
assert!(responses.contains(&InputMapperMessage::KeyDownNoRepeat(Key::Space).into()));
360362
assert_eq!(input_preprocessor.last_key_down, Some((Key::Space, DOUBLE_CLICK_MILLISECONDS + 1)));
361363
}
362364
}

0 commit comments

Comments
 (0)