1.1 --- a/tests/test_table.py Sat Mar 31 18:10:18 2012 +0200
1.2 +++ b/tests/test_table.py Sat Mar 31 21:20:52 2012 +0200
1.3 @@ -34,17 +34,21 @@
1.4 And this is the second column.
1.5 ==
1.6 Some \\{\\{\\{preformatted text\\}\\}\\} || Some `preformatted text` || Observe the region notation inline.
1.7 +==
1.8 +<rowspan=2> 1 || 2 || 3
1.9 +==
1.10 +<rowstyle="background-color: #f33"> 2 || 3
1.11 """
1.12
1.13 attrs, rows = parse(table)
1.14 -expected = 9
1.15 +expected = 11
1.16
1.17 print table
1.18 print attrs
1.19 print rows
1.20 print len(rows) == expected, ": length is", len(rows), "==", expected
1.21 print
1.22 -for (row_attrs, columns), expected in zip(rows, [3, 2, 3, 3, 3, 2, 2, 2, 3]):
1.23 +for (row_attrs, columns), expected in zip(rows, [3, 2, 3, 3, 3, 2, 2, 2, 3, 3, 2]):
1.24 print row_attrs
1.25 print columns
1.26 non_continuation_columns = [