diff options
author | tomoya ishida <[email protected]> | 2024-10-03 21:27:39 +0900 |
---|---|---|
committer | git <[email protected]> | 2024-10-03 12:27:43 +0000 |
commit | 218445bb1fbda6b215b42e6149da672d330a7042 (patch) | |
tree | 857a806fb4856c0b8ed7b3c129ff6b9fc3df7833 /test/rdoc/test_rdoc_markup_to_rdoc.rb | |
parent | b421964b9d00c685f11e1bcfdb2c0d9005e4f356 (diff) |
[ruby/rdoc] Fix ToRdoc#accept_table
(https://github.com/ruby/rdoc/pull/1184)
https://github.com/ruby/rdoc/commit/7b68545094
Diffstat (limited to 'test/rdoc/test_rdoc_markup_to_rdoc.rb')
-rw-r--r-- | test/rdoc/test_rdoc_markup_to_rdoc.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/rdoc/test_rdoc_markup_to_rdoc.rb b/test/rdoc/test_rdoc_markup_to_rdoc.rb index 50f4b6dc8b..c6f1aeae10 100644 --- a/test/rdoc/test_rdoc_markup_to_rdoc.rb +++ b/test/rdoc/test_rdoc_markup_to_rdoc.rb @@ -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 |