1.1 --- a/tests/test_table.py Sun Jan 15 23:37:14 2012 +0100
1.2 +++ b/tests/test_table.py Tue Jan 17 01:16:37 2012 +0100
1.3 @@ -20,6 +20,11 @@
1.4 ||
1.5 * Item #A
1.6 || Not a list
1.7 +==
1.8 +\\{\\{\\{
1.9 +Some preformatted text.
1.10 +\\}\\}\\}
1.11 +||<colspan="2"> Preformatted text in a separate section
1.12 """
1.13
1.14 attrs, rows = parse(table)
1.15 @@ -27,9 +32,9 @@
1.16 print table
1.17 print attrs
1.18 print rows
1.19 -print len(rows) == 5, ": length is", len(rows), "==", 5
1.20 +print len(rows) == 6, ": length is", len(rows), "==", 6
1.21 print
1.22 -for (row_attrs, columns), expected in zip(rows, [3, 2, 3, 3, 3]):
1.23 +for (row_attrs, columns), expected in zip(rows, [3, 2, 3, 3, 3, 2]):
1.24 print row_attrs
1.25 print columns
1.26 print len(columns) == expected, ": length is", len(columns), "==", expected