This commit is contained in:
wiiznokes 2024-04-24 23:30:31 +02:00 • committed by Jeremy Soller
parent e1f04b9401
commit 6d700399f9

View file

@ -2606,10 +2606,8 @@ mod tests {
let path = fs.path(); let path = fs.path();
// Simulate double clicking second directory // Simulate double clicking second directory
debug!("Emitting first Message::Click(Some(1))"); debug!("Emitting double click Message::DoubleClick(Some(1))");
tab.update(Message::Click(Some(1)), Modifiers::empty()); tab.update(Message::DoubleClick(Some(1)), Modifiers::empty());
debug!("Emitting second Message::Click(Some(1))");
tab.update(Message::Click(Some(1)), Modifiers::empty());
// Path to second directory // Path to second directory
let second_dir = read_dir_sorted(path)? let second_dir = read_dir_sorted(path)?