Skip to content

Commit 09a224b

Browse files
PoorlyDefinedBehaviourrgrinberg
authored andcommitted
test: make sure .#name.ml patterns are ignored
<!-- ps-id: e51ae4c1-846b-4a67-8884-d2d514f636eb --> Signed-off-by: Rudi Grinberg <[email protected]>
1 parent 244a430 commit 09a224b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/expect-tests/dune_file_watcher/dune_file_watcher_tests_patterns.ml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ let%expect_test _ =
2323
test "dir/#file#";
2424
test "dir/#subdir#/file";
2525
test ".#file";
26+
test ".#foobar.ml";
2627
test "dir/.#file";
2728
test "dir/.#subdir/file";
2829
[%expect
@@ -40,6 +41,7 @@ let%expect_test _ =
4041
should_exclude(dir/#file#) = true
4142
should_exclude(dir/#subdir#/file) = false
4243
should_exclude(.#file) = true
44+
should_exclude(.#foobar.ml) = true
4345
should_exclude(dir/.#file) = true
4446
should_exclude(dir/.#subdir/file) = true
4547
|}]

0 commit comments

Comments
 (0)