Skip to content

Commit 6f89d1a

Browse files
author
Pierre BAILLET
committed
Fmt
1 parent 2798d25 commit 6f89d1a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tests/fsevent.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ fn internal_validate_watch_single_file(run_async: bool) {
234234
file.write_all(b"create").unwrap();
235235
file.flush().unwrap();
236236
drop(file);
237-
237+
238238
// Wait a bit then modify
239239
thread::sleep(Duration::from_millis(100));
240240
let mut file = OpenOptions::new()
@@ -252,7 +252,10 @@ fn internal_validate_watch_single_file(run_async: bool) {
252252
receiver,
253253
vec![(
254254
dst.to_str().unwrap().to_string(),
255-
StreamFlags::ITEM_MODIFIED | StreamFlags::ITEM_CREATED | StreamFlags::ITEM_XATTR_MOD | StreamFlags::IS_FILE,
255+
StreamFlags::ITEM_MODIFIED
256+
| StreamFlags::ITEM_CREATED
257+
| StreamFlags::ITEM_XATTR_MOD
258+
| StreamFlags::IS_FILE,
256259
)],
257260
);
258261

0 commit comments

Comments
 (0)