@@ -25,7 +25,6 @@ def accept_document
2525 end
2626
2727 def accept_heading
28- skip "No String#chars, upgrade your ruby" unless '' . respond_to? :chars
2928 assert_equal "===== H\b He\b el\b ll\b lo\b o\n " , @to . res . join
3029 end
3130
@@ -216,37 +215,30 @@ def start_accepting
216215 end
217216
218217 def accept_heading_1
219- skip "No String#chars, upgrade your ruby" unless '' . respond_to? :chars
220218 assert_equal "= H\b He\b el\b ll\b lo\b o\n " , @to . end_accepting
221219 end
222220
223221 def accept_heading_2
224- skip "No String#chars, upgrade your ruby" unless '' . respond_to? :chars
225222 assert_equal "== H\b He\b el\b ll\b lo\b o\n " , @to . end_accepting
226223 end
227224
228225 def accept_heading_3
229- skip "No String#chars, upgrade your ruby" unless '' . respond_to? :chars
230226 assert_equal "=== H\b He\b el\b ll\b lo\b o\n " , @to . end_accepting
231227 end
232228
233229 def accept_heading_4
234- skip "No String#chars, upgrade your ruby" unless '' . respond_to? :chars
235230 assert_equal "==== H\b He\b el\b ll\b lo\b o\n " , @to . end_accepting
236231 end
237232
238233 def accept_heading_indent
239- skip "No String#chars, upgrade your ruby" unless '' . respond_to? :chars
240234 assert_equal " = H\b He\b el\b ll\b lo\b o\n " , @to . end_accepting
241235 end
242236
243237 def accept_heading_b
244- skip "No String#chars, upgrade your ruby" unless '' . respond_to? :chars
245238 assert_equal "= H\b He\b el\b ll\b lo\b o\n " , @to . end_accepting
246239 end
247240
248241 def accept_heading_suppressed_crossref
249- skip "No String#chars, upgrade your ruby" unless '' . respond_to? :chars
250242 assert_equal "= H\b He\b el\b ll\b lo\b o\n " , @to . end_accepting
251243 end
252244
@@ -264,24 +256,20 @@ def accept_list_item_start_note_multi_label
264256 end
265257
266258 def accept_paragraph_b
267- skip "No String#chars, upgrade your ruby" unless '' . respond_to? :chars
268259 assert_equal "reg b\b bo\b ol\b ld\b d \b w\b wo\b or\b rd\b ds\b s reg\n " ,
269260 @to . end_accepting
270261 end
271262
272263 def accept_paragraph_br
273- skip "No String#chars, upgrade your ruby" unless '' . respond_to? :chars
274264 assert_equal "one\n two\n " , @to . end_accepting
275265 end
276266
277267 def accept_paragraph_break
278- skip "No String#chars, upgrade your ruby" unless '' . respond_to? :chars
279268 assert_equal "hello\n world\n " ,
280269 @to . end_accepting
281270 end
282271
283272 def accept_paragraph_i
284- skip "No String#chars, upgrade your ruby" unless '' . respond_to? :chars
285273 assert_equal "reg _\b i_\b t_\b a_\b l_\b i_\b c_\b _\b w_\b o_\b r_\b d_\b s reg\n " ,
286274 @to . end_accepting
287275 end
@@ -301,12 +289,10 @@ def accept_paragraph_plus
301289 end
302290
303291 def accept_paragraph_star
304- skip "No String#chars, upgrade your ruby" unless '' . respond_to? :chars
305292 assert_equal "reg b\b bo\b ol\b ld\b d reg\n " , @to . end_accepting
306293 end
307294
308295 def accept_paragraph_underscore
309- skip "No String#chars, upgrade your ruby" unless '' . respond_to? :chars
310296 assert_equal "reg _\b i_\b t_\b a_\b l_\b i_\b c reg\n " , @to . end_accepting
311297 end
312298
@@ -364,4 +350,3 @@ def list_verbatim
364350 end
365351
366352end
367-
0 commit comments