Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolás Ojeda Bär <[email protected]>
  • Loading branch information
nojb committed Apr 18, 2023
1 parent 09ddc88 commit 3caa9b0
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions test/blackbox-tests/test-cases/merlin/github7577.t/run.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
We check that the Merlin helper can handle filenames with capital letters in them.

$ export BUILD_PATH_PREFIX_MAP="/OCAMLC_WHERE=$(ocamlc -where):$BUILD_PATH_PREFIX_MAP"

$ cat >dune-project <<EOF
> (lang dune 3.7)
> EOF

$ touch mainFOO.ml

$ cat >dune <<EOF
> (executable (name mainFOO))
> EOF

$ dune build

$ echo -n '(4:File10:mainFOO.ml)4:Halt' | dune ocaml merlin start-session
((6:STDLIB36:/OCAMLC_WHERE)(17:EXCLUDE_QUERY_DIR)(1:B161:$TESTCASE_ROOT/_build/default/.mainFOO.eobjs/byte)(1:S126:$TESTCASE_ROOT)(3:FLG(2:-w51:@1..3@5..28@30..39@43@46..47@49..57@61..62@67@69-4016:-strict-sequence15:-strict-formats12:-short-paths10:-keep-locs2:-g)))

0 comments on commit 3caa9b0

Please sign in to comment.