Skip to content

Commit

Permalink
fix pop-os#26
Browse files Browse the repository at this point in the history
  • Loading branch information
wiiznokes committed Apr 24, 2024
1 parent 37a6f37 commit bfd34c1
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/tab.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2604,12 +2604,10 @@ mod tests {
fn tab_click_double_opens_folder() -> io::Result<()> {
let (fs, mut tab) = tab_click_new(NUM_FILES, NUM_NESTED, NUM_DIRS, NUM_NESTED, NAME_LEN)?;
let path = fs.path();

// Simulate double clicking second directory
debug!("Emitting first Message::Click(Some(1))");
tab.update(Message::Click(Some(1)), Modifiers::empty());
debug!("Emitting second Message::Click(Some(1))");
tab.update(Message::Click(Some(1)), Modifiers::empty());
debug!("Emitting double click Message::DoubleClick(Some(1))");
tab.update(Message::DoubleClick(Some(1)), Modifiers::empty());

// Path to second directory
let second_dir = read_dir_sorted(path)?
Expand Down

0 comments on commit bfd34c1

Please sign in to comment.