Skip to content

Commit 0bb4275

Browse files
committed
format test file
1 parent 5c1ee8b commit 0bb4275

File tree

1 file changed

+21
-16
lines changed

1 file changed

+21
-16
lines changed

test/integration/markdown.t/test.mli

+21-16
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
(** {2:label This has a label}*)
44

5-
(** arrows (->) in a doc comment *)
5+
(** arrow (->) in a doc comment *)
66

77
val concat : string -> string -> string
88

99
(** {%html:foo:bar%} : a raw markup *)
1010

11-
type t
11+
type t
1212
(** Doc for [type t]. *)
1313

1414
type a = t
@@ -22,25 +22,29 @@ end
2222
module type Bar' = sig
2323
type bar'
2424
end
25-
module type Foo = sig
2625

26+
module type Foo = sig
27+
type foo
2728
(** docs for x *)
28-
type foo
2929

30-
include Bar'
30+
include Bar'
3131

32-
module type Foo' = sig
33-
type foo'
34-
type days =
35-
| Mon (** first day of the week. *)
32+
module type Foo' = sig
33+
type foo'
3634

37-
type num =[ `One]
38-
39-
end
35+
type days = Mon (** first day of the week. *)
4036

37+
type num = [ `One ]
38+
end
4139
end
4240

43-
type name = {fname : string; (** first name *) lname: string}
41+
type other_names = { given : string; nickname : string }
42+
43+
type name = {
44+
fname : string; (** first name *)
45+
lname : string;
46+
others : other_names;
47+
}
4448

4549
(** {2:foo Label} *)
4650

@@ -50,7 +54,6 @@ type name = {fname : string; (** first name *) lname: string}
5054

5155
(** {{:href} test two foo } *)
5256

53-
(** {{:href} {foo_bar} } *)
5457
(** {{:href} **barz** } *)
5558

5659
(** {v
@@ -84,12 +87,13 @@ A numbered list:
8487
@author David Sheets
8588
*)
8689

87-
8890
(** The end foo end keyword in doc comment. *)
8991
module Foo : sig
9092
type foo
93+
9194
type poly = [ `Mon | `Tue ]
92-
type name = { fname:string; lname: string }
95+
96+
type name = { fname : string; lname : string }
9397
end
9498

9599
(** p1 *)
@@ -104,6 +108,7 @@ end
104108
} *)
105109

106110
(** This is where I begin my thing from. *)
111+
107112
(** {ol
108113
{- one}
109114
{- two}

0 commit comments

Comments
 (0)