summaryrefslogtreecommitdiff
path: root/test/rdoc/support
diff options
context:
space:
mode:
Diffstat (limited to 'test/rdoc/support')
-rw-r--r--test/rdoc/support/text_formatter_test_case.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/rdoc/support/text_formatter_test_case.rb b/test/rdoc/support/text_formatter_test_case.rb
index 9b3d7ed626..5a51b16fd7 100644
--- a/test/rdoc/support/text_formatter_test_case.rb
+++ b/test/rdoc/support/text_formatter_test_case.rb
@@ -103,13 +103,13 @@ class RDoc::Markup::TextFormatterTestCase < RDoc::Markup::FormatterTestCase
# Test case that calls <tt>@to.accept_table</tt>
def test_accept_table_align
- header = ['AA', 'BB', 'CCCCC']
+ header = ['AA', 'BB', 'CCCCC', 'DDDDD']
body = [
- ['', 'bbb', 'c'],
- ['aaaa', 'b', ''],
- ['a', '', 'cc']
+ ['', 'bbb', 'c', ''],
+ ['aaaa', 'b', '', 'dd'],
+ ['a', '', 'cc', 'dd']
]
- aligns = [nil, :left, :right]
+ aligns = [nil, :left, :right, :center]
@to.start_accepting
@to.accept_table header, body, aligns