Skip to content

Commit

Permalink
test(fsevents): make sure sync dir is created
Browse files Browse the repository at this point in the history
Signed-off-by: Rudi Grinberg <[email protected]>
  • Loading branch information
rgrinberg committed Oct 14, 2021
1 parent f6c32a1 commit 4bcaa1b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/expect-tests/fsevents/fsevents_tests.ml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ let start_filename = ".dune_fsevents_start"
let end_filename = ".dune_fsevents_end"

let emit_start dir =
ignore (Fpath.mkdir_p dir);
Io.String_path.write_file (Filename.concat dir start_filename) ""

let emit_end dir =
ignore (Fpath.mkdir_p dir);
Io.String_path.write_file (Filename.concat dir end_filename) ""

let test f =
Expand Down

0 comments on commit 4bcaa1b

Please sign in to comment.