Add a regression test for #1019
Signed-off-by: Jeremie Dimino <jeremie@dimino.org>
This commit is contained in:
parent
9f7fa5ec68
commit
b7ae454d7d
|
@ -200,6 +200,14 @@
|
|||
test-cases/gen-opam-install-file
|
||||
(progn (run %{exe:cram.exe} -test run.t) (diff? run.t run.t.corrected)))))
|
||||
|
||||
(alias
|
||||
(name github1019)
|
||||
(deps (package dune) (source_tree test-cases/github1019))
|
||||
(action
|
||||
(chdir
|
||||
test-cases/github1019
|
||||
(progn (run %{exe:cram.exe} -test run.t) (diff? run.t run.t.corrected)))))
|
||||
|
||||
(alias
|
||||
(name github20)
|
||||
(deps (package dune) (source_tree test-cases/github20))
|
||||
|
@ -743,6 +751,7 @@
|
|||
(alias findlib-error)
|
||||
(alias force-test)
|
||||
(alias gen-opam-install-file)
|
||||
(alias github1019)
|
||||
(alias github20)
|
||||
(alias github24)
|
||||
(alias github25)
|
||||
|
@ -832,6 +841,7 @@
|
|||
(alias findlib-error)
|
||||
(alias force-test)
|
||||
(alias gen-opam-install-file)
|
||||
(alias github1019)
|
||||
(alias github20)
|
||||
(alias github24)
|
||||
(alias github25)
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
(library (name foo))
|
||||
|
||||
(alias
|
||||
(name default)
|
||||
(echo %{lib:foo:foo.ml}))
|
|
@ -0,0 +1 @@
|
|||
(lang dune 1.0)
|
|
@ -0,0 +1 @@
|
|||
let x = 1
|
|
@ -0,0 +1,6 @@
|
|||
Regression test for #1019
|
||||
|
||||
$ dune build
|
||||
File "dune", line 5, characters 9-10:
|
||||
Error: This character is not allowed inside %{...} forms
|
||||
[1]
|
Loading…
Reference in New Issue