Skip to content

Commit 09617e2

Browse files
committed
[FOLD] update tests
1 parent 3193ca6 commit 09617e2

File tree

2 files changed

+12
-36
lines changed

2 files changed

+12
-36
lines changed

test-files/golden-tests/requires-clause.adoc

Lines changed: 10 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
= Reference
22
:mrdocs:
3-
4-
53
[#index]
64
== Global namespace
75

@@ -10,10 +8,10 @@
108
|===
119
| Name | Description
1210

13-
| xref:#A-09[`A`]
11+
| <<#A-09,`A`>>
1412
|
1513

16-
| xref:#A-05[`A`]
14+
| <<#A-05,`A`>>
1715
|
1816

1917
|===
@@ -22,15 +20,13 @@
2220
|===
2321
| Name | Description
2422

25-
| xref:f[`f`]
23+
| <<#f,`f`>>
2624
|
27-
| xref:g[`g`]
25+
| <<#g,`g`>>
2826
|
2927
|===
3028

31-
3229
[#f]
33-
3430
== f
3531

3632

@@ -42,21 +38,21 @@
4238
----
4339
template<typename T>
4440
void
45-
xref:#f-04[f]() requires pass:[(sizeof(T) == 4)];
41+
<<#f-04,f>>() requires pass:[(sizeof(T) == 4)];
4642
----
4743

4844
[source,cpp,subs="verbatim,macros,-callouts"]
4945
----
5046
template<typename T>
5147
void
52-
xref:#f-0b[f]() requires pass:[(sizeof(T) == 2)];
48+
<<#f-0b,f>>() requires pass:[(sizeof(T) == 2)];
5349
----
5450

5551
[source,cpp,subs="verbatim,macros,-callouts"]
5652
----
5753
template<typename U>
5854
void
59-
xref:#f-02[f]() requires pass:[(sizeof(U) == 2)];
55+
<<#f-02,f>>() requires pass:[(sizeof(U) == 2)];
6056
----
6157

6258

@@ -66,8 +62,6 @@ xref:#f-02[f]() requires pass:[(sizeof(U) == 2)];
6662

6763

6864

69-
70-
7165
[#f-04]
7266
== f
7367

@@ -91,8 +85,6 @@ f() requires pass:[(sizeof(T) == 4)];
9185

9286

9387

94-
95-
9688
[#f-0b]
9789
== f
9890

@@ -116,8 +108,6 @@ f() requires pass:[(sizeof(T) == 2)];
116108

117109

118110

119-
120-
121111
[#f-02]
122112
== f
123113

@@ -141,9 +131,7 @@ f() requires pass:[(sizeof(U) == 2)];
141131

142132

143133

144-
145134
[#g]
146-
147135
== g
148136

149137

@@ -155,21 +143,21 @@ f() requires pass:[(sizeof(U) == 2)];
155143
----
156144
template<typename T> requires pass:[(sizeof(T) == 4)]
157145
void
158-
xref:#g-00[g]();
146+
<<#g-00,g>>();
159147
----
160148

161149
[source,cpp,subs="verbatim,macros,-callouts"]
162150
----
163151
template<typename T> requires pass:[(sizeof(T) == 2)]
164152
void
165-
xref:#g-04[g]();
153+
<<#g-04,g>>();
166154
----
167155

168156
[source,cpp,subs="verbatim,macros,-callouts"]
169157
----
170158
template<typename U> requires pass:[(sizeof(U) == 2)]
171159
void
172-
xref:#g-03[g]();
160+
<<#g-03,g>>();
173161
----
174162

175163

@@ -179,8 +167,6 @@ xref:#g-03[g]();
179167

180168

181169

182-
183-
184170
[#g-00]
185171
== g
186172

@@ -204,8 +190,6 @@ g();
204190

205191

206192

207-
208-
209193
[#g-04]
210194
== g
211195

@@ -229,8 +213,6 @@ g();
229213

230214

231215

232-
233-
234216
[#g-03]
235217
== g
236218

@@ -254,8 +236,6 @@ g();
254236

255237

256238

257-
258-
259239
[#A-09]
260240
== A
261241

@@ -274,8 +254,6 @@ struct A;
274254

275255

276256

277-
278-
279257
[#A-05]
280258
== A
281259

test-files/golden-tests/requires-clause.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ <h2>Functions</h2>
5050
<tbody>
5151
<tr>
5252
<td>
53-
<a href="f"><code>f</code></a>
53+
<a href="#f"><code>f</code></a>
5454
</td><td>
5555

5656
</td>
5757
</tr><tr>
5858
<td>
59-
<a href="g"><code>g</code></a>
59+
<a href="#g"><code>g</code></a>
6060
</td><td>
6161

6262
</td>
@@ -65,7 +65,6 @@ <h2>Functions</h2>
6565
</table>
6666
</div>
6767
</div>
68-
6968
<div id="f">
7069

7170
<h1>Overload set f</h1>
@@ -182,7 +181,6 @@ <h3>Synopsis</h3>
182181

183182

184183
</div>
185-
186184
<div id="g">
187185

188186
<h1>Overload set g</h1>

0 commit comments

Comments
 (0)