1.1 --- a/tests/test_table.py Fri Feb 24 21:39:12 2012 +0100
1.2 +++ b/tests/test_table.py Sat Feb 25 19:28:58 2012 +0100
1.3 @@ -32,16 +32,19 @@
1.4 == This, despite the == is in a new row.
1.5 ||
1.6 And this is the second column.
1.7 +==
1.8 +Some \\{\\{\\{preformatted text\\}\\}\\} || Some `preformatted text` || Observe the region notation inline.
1.9 """
1.10
1.11 attrs, rows = parse(table)
1.12 +expected = 9
1.13
1.14 print table
1.15 print attrs
1.16 print rows
1.17 -print len(rows) == 8, ": length is", len(rows), "==", 8
1.18 +print len(rows) == expected, ": length is", len(rows), "==", expected
1.19 print
1.20 -for (row_attrs, columns), expected in zip(rows, [3, 2, 3, 3, 3, 2, 2, 2]):
1.21 +for (row_attrs, columns), expected in zip(rows, [3, 2, 3, 3, 3, 2, 2, 2, 3]):
1.22 print row_attrs
1.23 print columns
1.24 non_continuation_columns = [