mirror of
https://github.com/ruby/ruby.git
synced 2025-08-26 14:34:39 +02:00
[ruby/rdoc] Fix ToRdoc#accept_table
(https://github.com/ruby/rdoc/pull/1184)
7b68545094
This commit is contained in:
parent
b421964b9d
commit
218445bb1f
6 changed files with 65 additions and 4 deletions
|
@ -346,6 +346,17 @@ words words words words
|
|||
assert_equal expected, @to.end_accepting
|
||||
end
|
||||
|
||||
def accept_table_align
|
||||
expected = <<-EXPECTED
|
||||
AA |BB |CCCCC
|
||||
----|---|-----
|
||||
|bbb| c
|
||||
aaaa|b |
|
||||
a | | cc
|
||||
EXPECTED
|
||||
assert_equal expected, @to.end_accepting
|
||||
end
|
||||
|
||||
# functional test
|
||||
def test_convert_list_note
|
||||
note_list = <<-NOTE_LIST
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue