Skip to content

Commit 672efd1

Browse files
committed
Don't generate cram test
The --syntax option cannot be passed to mdx rule
1 parent 34cd12a commit 672efd1

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

test/dune

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
(run ocaml-mdx rule %{dep:envs.md})
1414
(run ocaml-mdx rule %{dep:empty_line.md})
1515
(run ocaml-mdx rule %{dep:spaces.md})
16-
(run ocaml-mdx rule %{dep:cram.t})
1716
(run ocaml-mdx rule %{dep:errors.md})
1817
(run ocaml-mdx rule %{dep:heredoc.md})
1918
(run ocaml-mdx rule %{dep:mlt.md})
@@ -79,6 +78,13 @@
7978
(run ocaml-mdx output %{x} -o output.html)
8079
(diff? %{y} output.html))))
8180

81+
(alias
82+
(name runtest)
83+
(deps (:x cram.t) (package mdx))
84+
(action (progn
85+
(run ocaml-mdx test --syntax=cram %{x})
86+
(diff? %{x} %{x}.corrected))))
87+
8288
(alias
8389
(name runtest)
8490
(deps (:x dir.md) (package mdx))

test/dune.inc

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,6 @@
3939

4040
(diff? %{x} %{x}.corrected))))
4141
(alias
42-
(name runtest)
43-
(deps (:x cram.t)
44-
(package mdx))
45-
(action (progn
46-
(run ocaml-mdx test --direction=infer-timestamp %{x})
47-
48-
(diff? %{x} %{x}.corrected))))
49-
(alias
5042
(name runtest)
5143
(deps (:x errors.md)
5244
(package mdx))

0 commit comments

Comments
 (0)