tests/test_parser.py | raw changeset files shortlog |
1.1 --- a/tests/test_parser.py Mon May 01 23:36:31 2017 +0200 1.2 +++ b/tests/test_parser.py Tue May 02 16:39:30 2017 +0200 1.3 @@ -111,6 +111,16 @@ 1.4 ~+Larger...+~ and ~-smaller-~ 1.5 """) 1.6 1.7 +sl.append("""\ 1.8 +|| Cell 1 || Cell 2 || 1.9 +|| Cell 3 || Cell 4 || 1.10 + 1.11 +|| Not a table 1.12 + || Also not a table 1.13 +|| Almost a table || ... 1.14 +|| A table, trailing space || 1.15 +""") 1.16 + 1.17 dl = map(parse, sl) 1.18 nl = map(serialise, dl) 1.19