This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,29 @@
|
|||
cinaps doesn't work with (include_subdirs unqualified)
|
||||
|
||||
$ cat > dune-project <<EOF
|
||||
> (lang dune 2.3)
|
||||
> (using cinaps 1.0)
|
||||
> EOF
|
||||
|
||||
$ cat >dune <<EOF
|
||||
> (include_subdirs unqualified)
|
||||
> (executable (name test))
|
||||
> EOF
|
||||
|
||||
$ mkdir sub
|
||||
$ cat >sub/dune <<EOF
|
||||
> (cinaps (files test.ml))
|
||||
> EOF
|
||||
$ cat >sub/test.ml <<EOF
|
||||
> (*$ print_endline "\nhello" *)
|
||||
> (*$*)
|
||||
> let x = 1
|
||||
> EOF
|
||||
|
||||
$ dune runtest --diff-command diff 2>&1 | sed -E 's/[^ ]+sh/\$sh/'
|
||||
File "sub/test.ml", line 1, characters 0-0:
|
||||
2,3c2
|
||||
< (*)
|
||||
< let x = 1
|
||||
---
|
||||
> hello
|
||||
Loading…
Add table
Add a link
Reference in a new issue