Skip to content

Commit 35468e2

Browse files
committed
update the test module and promote tests
1 parent 90141f5 commit 35468e2

File tree

2 files changed

+13
-15
lines changed

2 files changed

+13
-15
lines changed

test/integration/markdown.t/run.t

+10-11
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
######     type t
2323

24-
Doc for type t .
24+
Doc for `type t`
2525

2626
######     type a = t
2727

@@ -39,8 +39,6 @@
3939

4040
######         type foo
4141

42-
docs for x
43-
4442
######         type bar'
4543

4644
######         module type Foo' = sig
@@ -51,12 +49,14 @@
5149

5250
######                 | Mon
5351

54-
first day of the week.
52+
Docs for `days`
5553

5654
######             type num = [
5755

5856
######                 | `One
5957

58+
Docs for `` `One``
59+
6060
######             ]
6161

6262
######         end
@@ -75,7 +75,7 @@
7575

7676
######         fname : string ;
7777

78-
first name
78+
Docs for `fname`
7979

8080
######         lname : string ;
8181

@@ -183,7 +183,7 @@
183183

184184
######     type t
185185

186-
Doc for type t .
186+
Doc for `type t`
187187

188188
<a id="type-a"></a>
189189

@@ -215,8 +215,6 @@
215215

216216
######         type foo
217217

218-
docs for x
219-
220218
<a id="type-bar'"></a>
221219

222220
######         type bar'
@@ -237,7 +235,7 @@
237235

238236
######                 | Mon
239237

240-
first day of the week.
238+
Docs for `days`
241239

242240
<a id="type-num"></a>
243241

@@ -247,6 +245,8 @@
247245

248246
######                 | `One
249247

248+
Docs for `` `One``
249+
250250
######             ]
251251

252252
######         end
@@ -275,7 +275,7 @@
275275

276276
######         fname : string ;
277277

278-
first name
278+
Docs for `fname`
279279

280280
<a id="type-name.lname"></a>
281281

@@ -365,4 +365,3 @@
365365
- Mon
366366

367367
- Tue
368-

test/integration/markdown.t/test.mli

+3-4
Original file line numberDiff line numberDiff line change
@@ -25,23 +25,22 @@ end
2525

2626
module type Foo = sig
2727
type foo
28-
(** docs for x *)
2928

3029
include Bar'
3130

3231
module type Foo' = sig
3332
type foo'
3433

35-
type days = Mon (** first day of the week. *)
34+
type days = Mon (** Docs for [days]. *)
3635

37-
type num = [ `One ]
36+
type num = [ `One (** Docs for [`One]*)]
3837
end
3938
end
4039

4140
type other_names = { given : string; nickname : string }
4241

4342
type name = {
44-
fname : string; (** first name *)
43+
fname : string; (** Docs for [fname] *)
4544
lname : string;
4645
others : other_names;
4746
}

0 commit comments

Comments
 (0)