aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorVincent Driessen <vincent@datafox.nl>2010-08-19 11:43:03 +0200
committerVincent Driessen <vincent@datafox.nl>2010-08-19 11:43:03 +0200
commit81c52547b08e24b2be35ddca47167527e958fa6e (patch)
treeeab1270a7712e9e1234363061271d85cfb19f210 /tests
parent5aa925dac4e1dd14428e22893a3db5d1cf5306ed (diff)
downloadvim-rst-tables-81c52547b08e24b2be35ddca47167527e958fa6e.tar.gz
vim-rst-tables-81c52547b08e24b2be35ddca47167527e958fa6e.tar.bz2
vim-rst-tables-81c52547b08e24b2be35ddca47167527e958fa6e.zip
Remove CreateTable().
This implementation only needs ReformatTable(), also for creation.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_rst_tables.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_rst_tables.py b/tests/test_rst_tables.py
index 6c486dd..0f1f354 100644
--- a/tests/test_rst_tables.py
+++ b/tests/test_rst_tables.py
@@ -20,7 +20,7 @@ import os
import unittest
# Load test subjects
-from rst_tables import get_table_bounds, create_table, parse_table, \
+from rst_tables import get_table_bounds, reformat_table, parse_table, \
draw_table, table_line, get_column_widths, \
pad_fields, unify_table, join_rows
@@ -198,7 +198,7 @@ This is paragraph text *before* the table.
This is paragraph text *after* the table, with
a line ending.
""".split('\n')
- create_table()
+ reformat_table()
self.assertEquals(expect, vim.current.buffer)
def notestCreateComplexTable(self):