Debian Codegraph @

test/blackbox-tests/test-cases/stanzas/mdx-stanza/package.t/run.t

raw
1 The mdx stanza supports (package):
2
3 $ dune runtest
4 File "doc-a.md", line 1, characters 0-0:
5 --- doc-a.md
6 +++ .mdx/doc-a.md.corrected
7 @@ -1,3 +1,4 @@
8 ```ocaml
9 # let x = 1;;
10 +val x : int = 1
11 ```
12 File "doc-b.md", line 1, characters 0-0:
13 --- doc-b.md
14 +++ .mdx/doc-b.md.corrected
15 @@ -1,3 +1,4 @@
16 ```ocaml
17 # let x = 1;;
18 +val x : int = 1
19 ```
20 File "doc-nopkg.md", line 1, characters 0-0:
21 --- doc-nopkg.md
22 +++ .mdx/doc-nopkg.md.corrected
23 @@ -1,3 +1,4 @@
24 ```ocaml
25 # let x = 1;;
26 +val x : int = 1
27 ```
28 [1]
29
30 In the following test doc-a is not checked because it is not part of package b
31 $ dune runtest --only-packages b
32 File "doc-b.md", line 1, characters 0-0:
33 --- doc-b.md
34 +++ .mdx/doc-b.md.corrected
35 @@ -1,3 +1,4 @@
36 ```ocaml
37 # let x = 1;;
38 +val x : int = 1
39 ```
40 File "doc-nopkg.md", line 1, characters 0-0:
41 --- doc-nopkg.md
42 +++ .mdx/doc-nopkg.md.corrected
43 @@ -1,3 +1,4 @@
44 ```ocaml
45 # let x = 1;;
46 +val x : int = 1
47 ```
48 [1]