Skip to content

Commit 4bcaa1b

Browse files
committed
test(fsevents): make sure sync dir is created
Signed-off-by: Rudi Grinberg <[email protected]>
1 parent f6c32a1 commit 4bcaa1b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/expect-tests/fsevents/fsevents_tests.ml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ let start_filename = ".dune_fsevents_start"
1414
let end_filename = ".dune_fsevents_end"
1515

1616
let emit_start dir =
17+
ignore (Fpath.mkdir_p dir);
1718
Io.String_path.write_file (Filename.concat dir start_filename) ""
1819

1920
let emit_end dir =
21+
ignore (Fpath.mkdir_p dir);
2022
Io.String_path.write_file (Filename.concat dir end_filename) ""
2123

2224
let test f =

0 commit comments

Comments
 (0)