1.1 --- a/tests/test_table.py Mon Feb 23 23:25:43 2015 +0100
1.2 +++ b/tests/test_table.py Sun Dec 20 00:06:00 2015 +0100
1.3 @@ -47,17 +47,19 @@
1.4 ==
1.5 A test || Of...
1.6 ...non-continuation
1.7 +==
1.8 +<<Macro>>
1.9 """
1.10
1.11 attrs, rows = parse(table)
1.12 -expected = 13
1.13 +expected = 14
1.14
1.15 print table
1.16 print attrs
1.17 print rows
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, 3, 3, 2, 2, 2]):
1.21 +for (row_attrs, columns), expected in zip(rows, [3, 2, 3, 3, 3, 2, 2, 2, 3, 3, 2, 2, 2, 1]):
1.22 print row_attrs
1.23 print columns
1.24 non_continuation_columns = [
1.25 @@ -78,4 +80,8 @@
1.26 text = rows[12][1][1][1]
1.27 print text == expected_text, ": text is", repr(text)
1.28
1.29 +expected_text = "\n<<Macro>>\n"
1.30 +text = rows[13][1][0][1]
1.31 +print text == expected_text, ": text is", repr(text)
1.32 +
1.33 # vim: tabstop=4 expandtab shiftwidth=4