Skip to content

Commit 69c11bf

Browse files
committed
[FOLD] update tests
1 parent fde478e commit 69c11bf

File tree

2 files changed

+77
-85
lines changed

2 files changed

+77
-85
lines changed

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

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,26 @@
66
== Global namespace
77

88
=== Types
9-
[cols=2,separator=¦]
9+
[cols=2]
1010
|===
11-
¦Name ¦Description
12-
¦xref:#A-09[`A`] ¦
13-
14-
¦xref:#A-05[`A`] ¦
15-
11+
| Name | Description
12+
13+
| xref:#A-09[`A`]
14+
|
15+
16+
| xref:#A-05[`A`]
17+
|
18+
1619
|===
1720
=== Functions
18-
[cols=2,separator=¦]
21+
[cols=2]
1922
|===
20-
¦Name ¦Description
21-
¦xref:f[`f`] ¦
22-
¦xref:g[`g`] ¦
23+
| Name | Description
24+
25+
| xref:f[`f`]
26+
|
27+
| xref:g[`g`]
28+
|
2329
|===
2430

2531

@@ -36,21 +42,21 @@
3642
----
3743
template<typename T>
3844
void
39-
xref:#f-04[pass:[f]]() requires (sizeof(T) == 4);
45+
xref:#f-04[f]() requires (sizeof(T) == 4);
4046
----
4147

4248
[source,cpp,subs="verbatim,macros,-callouts"]
4349
----
4450
template<typename T>
4551
void
46-
xref:#f-0b[pass:[f]]() requires (sizeof(T) == 2);
52+
xref:#f-0b[f]() requires (sizeof(T) == 2);
4753
----
4854

4955
[source,cpp,subs="verbatim,macros,-callouts"]
5056
----
5157
template<typename U>
5258
void
53-
xref:#f-02[pass:[f]]() requires (sizeof(U) == 2);
59+
xref:#f-02[f]() requires (sizeof(U) == 2);
5460
----
5561

5662

@@ -149,21 +155,21 @@ f() requires (sizeof(U) == 2);
149155
----
150156
template<typename T> requires (sizeof(T) == 4)
151157
void
152-
xref:#g-00[pass:[g]]();
158+
xref:#g-00[g]();
153159
----
154160

155161
[source,cpp,subs="verbatim,macros,-callouts"]
156162
----
157163
template<typename T> requires (sizeof(T) == 2)
158164
void
159-
xref:#g-04[pass:[g]]();
165+
xref:#g-04[g]();
160166
----
161167

162168
[source,cpp,subs="verbatim,macros,-callouts"]
163169
----
164170
template<typename U> requires (sizeof(U) == 2)
165171
void
166-
xref:#g-03[pass:[g]]();
172+
xref:#g-03[g]();
167173
----
168174

169175

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

Lines changed: 55 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -9,67 +9,61 @@
99
<h2>Global namespace</h2>
1010
</div>
1111
<div>
12-
<div>
13-
<h3> Types</h3>
14-
<table>
15-
<colgroup>
16-
<col style="width: 50%;">
17-
<col style="width: 50%;">
18-
</colgroup>
19-
<thead>
20-
<tr>
21-
<th>Name</th>
22-
<th>Description</th>
23-
</tr>
24-
</thead>
25-
<tbody>
12+
<h2> Types</h2>
13+
<table style="table-layout: fixed; width: 100%;">
14+
<thead>
2615
<tr>
27-
<td>
28-
<a href="#A-09">A</a>
29-
</td>
30-
<td>
31-
32-
</td>
33-
</tr> <tr>
34-
<td>
35-
<a href="#A-05">A</a>
36-
</td>
37-
<td>
38-
39-
</td>
40-
</tr> </tbody>
41-
</table>
42-
</div>
43-
<div>
44-
<h3>Functions</h3>
45-
<table>
46-
<colgroup>
47-
<col style="width: 50%;">
48-
<col style="width: 50%;">
49-
</colgroup>
50-
<thead>
51-
<tr>
52-
<th>Name</th>
53-
<th>Description</th>
54-
</tr>
55-
</thead>
56-
<tbody>
16+
<th>Name</th>
17+
<th>Description</th>
18+
19+
20+
</tr>
21+
</thead>
22+
<tbody>
5723
<tr>
58-
<td>
59-
<a href="f">f</a>
60-
</td>
61-
<td>
62-
</td>
63-
</tr> <tr>
64-
<td>
65-
<a href="g">g</a>
66-
</td>
67-
<td>
68-
</td>
69-
</tr> </tbody>
70-
</table>
71-
</div>
72-
</div>
24+
<td>
25+
<a href="#A-09"><code>A</code></a>
26+
</td><td>
27+
28+
29+
</td>
30+
</tr><tr>
31+
<td>
32+
<a href="#A-05"><code>A</code></a>
33+
</td><td>
34+
35+
36+
</td>
37+
</tr>
38+
</tbody>
39+
</table>
40+
<h2>Functions</h2>
41+
<table style="table-layout: fixed; width: 100%;">
42+
<thead>
43+
<tr>
44+
<th>Name</th>
45+
<th>Description</th>
46+
47+
48+
</tr>
49+
</thead>
50+
<tbody>
51+
<tr>
52+
<td>
53+
<a href="f"><code>f</code></a>
54+
</td><td>
55+
56+
</td>
57+
</tr><tr>
58+
<td>
59+
<a href="g"><code>g</code></a>
60+
</td><td>
61+
62+
</td>
63+
</tr>
64+
</tbody>
65+
</table>
66+
</div>
7367
</div>
7468

7569
<div id="f">
@@ -119,7 +113,6 @@ <h3>Synopsis</h3>
119113
Declared in <code><requires-clause.cpp></code>
120114
</span>
121115
</p>
122-
123116
</code>
124117
</div>
125118
<pre class="source-code cpp">
@@ -148,7 +141,6 @@ <h3>Synopsis</h3>
148141
Declared in <code><requires-clause.cpp></code>
149142
</span>
150143
</p>
151-
152144
</code>
153145
</div>
154146
<pre class="source-code cpp">
@@ -177,7 +169,6 @@ <h3>Synopsis</h3>
177169
Declared in <code><requires-clause.cpp></code>
178170
</span>
179171
</p>
180-
181172
</code>
182173
</div>
183174
<pre class="source-code cpp">
@@ -239,7 +230,6 @@ <h3>Synopsis</h3>
239230
Declared in <code><requires-clause.cpp></code>
240231
</span>
241232
</p>
242-
243233
</code>
244234
</div>
245235
<pre class="source-code cpp">
@@ -268,7 +258,6 @@ <h3>Synopsis</h3>
268258
Declared in <code><requires-clause.cpp></code>
269259
</span>
270260
</p>
271-
272261
</code>
273262
</div>
274263
<pre class="source-code cpp">
@@ -297,7 +286,6 @@ <h3>Synopsis</h3>
297286
Declared in <code><requires-clause.cpp></code>
298287
</span>
299288
</p>
300-
301289
</code>
302290
</div>
303291
<pre class="source-code cpp">
@@ -326,7 +314,6 @@ <h3>Synopsis</h3>
326314
Declared in <code><requires-clause.cpp></code>
327315
</span>
328316
</p>
329-
330317
</code>
331318
</div>
332319
<pre class="source-code cpp">
@@ -336,7 +323,7 @@ <h3>Synopsis</h3>
336323
</div>
337324

338325
<div>
339-
</div>
326+
</div>
340327

341328

342329
</div>
@@ -355,7 +342,6 @@ <h3>Synopsis</h3>
355342
Declared in <code><requires-clause.cpp></code>
356343
</span>
357344
</p>
358-
359345
</code>
360346
</div>
361347
<pre class="source-code cpp">
@@ -365,7 +351,7 @@ <h3>Synopsis</h3>
365351
</div>
366352

367353
<div>
368-
</div>
354+
</div>
369355

370356

371357
</div>

0 commit comments

Comments
 (0)