Skip to content

Commit c2c16a4

Browse files
committed
Improve test for omitted type in constructor parent
Signed-off-by: Paul-Elliot <[email protected]>
1 parent b637501 commit c2c16a4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

test/xref2/github_issue_447.t/a.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
type u = Foo
22

3-
(** {!constructor-Foo} {!u.constructor-Foo} *)
3+
(** {!constructor-Foo} {!u.constructor-Foo} {!Foo} *)
44

55
module M : sig
66
type t = Foo

test/xref2/github_issue_447.t/run.t

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ Let's now check that the reference point to the right page/anchor:
1818

1919
$ cat html/A/index.html | grep \# | grep Foo | grep -v anchor
2020
<p><a href="#type-u.Foo"><code>Foo</code></a>
21-
<a href="#type-u.Foo"><code>u.Foo</code></a>
21+
<a href="#type-u.Foo"><code>u.Foo</code></a>
22+
<a href="#type-u.Foo"><code>Foo</code></a>
2223
<p><a href="M/index.html#type-t.Foo"><code>M.t.Foo</code></a> and
2324
<a href="M/index.html#type-t.Foo"><code>M.t.Foo</code></a>
2425
<p><a href="M/index.html#type-t.Foo"><code>M.t.Foo</code></a> and

0 commit comments

Comments
 (0)