tests/test_parser.py | raw changeset files shortlog |
1.1 --- a/tests/test_parser.py Sat Apr 29 18:20:55 2017 +0200 1.2 +++ b/tests/test_parser.py Sat Apr 29 23:04:30 2017 +0200 1.3 @@ -59,6 +59,17 @@ 1.4 also still a rule---- 1.5 EOF""") 1.6 1.7 +sl.append("""\ 1.8 += Level 1 = 1.9 +Text 1.10 + == Level 2 Heading == 1.11 +Text 1.12 +Not == a heading == 1.13 +== Not a heading == either 1.14 += Mismatched heading == 1.15 +== Another mismatched heading = 1.16 +""") 1.17 + 1.18 dl = map(parse, sl) 1.19 nl = map(serialise, dl) 1.20