Skip to content

Commit a950e6f

Browse files
committed
Actually test pod examples
1 parent 676c8f2 commit a950e6f

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

doc/Language/tables.pod6

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ separator in the content portion of the table. For example,
6565
6666
=item Heading and single- or multi-line content
6767
68-
=begin code :skip-test
68+
=begin code
6969
=begin table
7070
hdr col 0 | hdr col 1
7171
======================
@@ -80,7 +80,7 @@ separator in the content portion of the table. For example,
8080
8181
=item Heading and single-line content
8282
83-
=begin code :skip-test
83+
=begin code
8484
=begin table
8585
hdr col 0 | hdr col 1
8686
======================
@@ -93,7 +93,7 @@ separator in the content portion of the table. For example,
9393
contiguous hyphens (V<'-'>) as the row separator in the content portion
9494
of the table. For example,
9595
96-
=begin code :skip-test
96+
=begin code
9797
=begin table
9898
row 0 | row 0
9999
col 0 | col 1
@@ -116,7 +116,7 @@ empty cells and generate a warning.)
116116
8. Adding a caption to a table is possible using the C<=begin table>
117117
line as in this example:
118118
119-
=begin code :skip-test
119+
=begin code
120120
=begin table :caption<My Tasks>
121121
mow lawn
122122
take out trash
@@ -126,7 +126,7 @@ take out trash
126126
Although not a good practice, currently there is in use an alternate
127127
method of defining a caption as shown in this example:
128128
129-
=begin code :skip-test
129+
=begin code
130130
=begin table :config{caption => "My Tasks"}
131131
mow lawn
132132
take out trash
@@ -144,7 +144,7 @@ version C<6.e>.
144144
Following are examples of valid (Good) tables (taken from the current
145145
L<Specification Tests|https://github.com/perl6/roast>).
146146
147-
=begin code :skip-test
147+
=begin code
148148
=begin table
149149
The Shoveller Eddie Stevens King Arthur's singing shovel
150150
Blue Raja Geoffrey Smith Master of cutlery
@@ -153,7 +153,7 @@ L<Specification Tests|https://github.com/perl6/roast>).
153153
=end table
154154
=end code
155155
156-
=begin code :skip-test
156+
=begin code
157157
=table
158158
Constants 1
159159
Variables 10
@@ -162,15 +162,15 @@ L<Specification Tests|https://github.com/perl6/roast>).
162162
163163
=end code
164164
165-
=begin code :skip-test
165+
=begin code
166166
=for table
167167
mouse | mice
168168
horse | horses
169169
elephant | elephants
170170
171171
=end code
172172
173-
=begin code :skip-test
173+
=begin code
174174
=table
175175
Animal | Legs | Eats
176176
=======================
@@ -180,7 +180,7 @@ L<Specification Tests|https://github.com/perl6/roast>).
180180
181181
=end code
182182
183-
=begin code :skip-test
183+
=begin code
184184
=table
185185
Superhero | Secret |
186186
| Identity | Superpower
@@ -189,7 +189,7 @@ L<Specification Tests|https://github.com/perl6/roast>).
189189
190190
=end code
191191
192-
=begin code :skip-test
192+
=begin code
193193
=begin table
194194
195195
Secret
@@ -208,7 +208,7 @@ L<Specification Tests|https://github.com/perl6/roast>).
208208
=end table
209209
=end code
210210
211-
=begin code :skip-test
211+
=begin code
212212
=table
213213
X | O |
214214
---+---+---
@@ -218,7 +218,7 @@ L<Specification Tests|https://github.com/perl6/roast>).
218218
219219
=end code
220220
221-
=begin code :skip-test
221+
=begin code
222222
=table
223223
X O
224224
===========
@@ -228,7 +228,7 @@ L<Specification Tests|https://github.com/perl6/roast>).
228228
229229
=end code
230230
231-
=begin code :skip-test
231+
=begin code
232232
=begin table
233233
234234
foo
@@ -244,15 +244,15 @@ trigger an unhandled exception during parsing.
244244
245245
=item Mixed column separator types in the same row are not allowed:
246246
247-
=begin code :skip-test
247+
=begin code :skip-test<pod error>
248248
=begin table
249249
r0c0 + r0c1 | r0c3
250250
=end table
251251
=end code
252252
253253
=item Mixed visual and whitespace column separator types in the same table are not allowed:
254254
255-
=begin code :skip-test
255+
=begin code :skip-test<pod error>
256256
=begin table
257257
r0c0 + r0c1 | r0c3
258258
r1c0 r0c1 r0c3
@@ -261,7 +261,7 @@ r1c0 r0c1 r0c3
261261
262262
=item Two consecutive interior row separators are not allowed:
263263
264-
=begin code :skip-test
264+
=begin code :skip-test<pod error>
265265
=begin table
266266
r0c0 | r0c1
267267
============
@@ -283,7 +283,7 @@ character, while it takes at least B<two> adjacent WS characters to define
283283
a column separation. B<This is a valid table but will be parsed as a
284284
single-column table>.
285285
286-
=begin code :skip-test
286+
=begin code
287287
=begin table
288288
r0c0 r0c1
289289
r1c0 r0c1
@@ -300,7 +300,7 @@ be what the user intended because the first row has two
300300
columns while the second row has only one column, and it will thus have
301301
an empty second column.
302302
303-
=begin code :skip-test
303+
=begin code
304304
=begin table
305305
r0c0 | r0c1
306306
r1c0 |r0c1

0 commit comments

Comments
 (0)