Skip to content

Commit

Permalink
Fix macOS test
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkirsz authored and 0xpr03 committed Jan 14, 2023
1 parent 7e2ad31 commit 3439340
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion notify/src/fsevent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ fn test_fsevent_watcher_drop() {
let (tx, rx) = std::sync::mpsc::channel();

{
let mut watcher = FsEventWatcher::new(tx).unwrap();
let mut watcher = FsEventWatcher::new(tx, Default::default()).unwrap();
watcher.watch(dir.path(), RecursiveMode::Recursive).unwrap();
thread::sleep(Duration::from_millis(2000));
println!("is running -> {}", watcher.is_running());
Expand Down
2 changes: 1 addition & 1 deletion notify/src/kqueue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//! pieces of kernel code termed filters.
use super::event::*;
use super::{Error, EventHandler, RecursiveMode, Result, Watcher, Config};
use super::{Config, Error, EventHandler, RecursiveMode, Result, Watcher};
use crate::{unbounded, Receiver, Sender};
use kqueue::{EventData, EventFilter, FilterFlag, Ident};
use std::collections::HashMap;
Expand Down

0 comments on commit 3439340

Please sign in to comment.