Mercurial > public > mercurial-scm > hg-stable
diff tests/test-minirst.py @ 9293:e48a48b754d3
minirst: parse field lists
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Sun, 02 Aug 2009 23:38:07 +0200 |
parents | cd5b6a11b607 |
children | 26d3ade60fa6 |
line wrap: on
line diff
--- a/tests/test-minirst.py Sun Aug 02 21:29:15 2009 +0200 +++ b/tests/test-minirst.py Sun Aug 02 23:38:07 2009 +0200 @@ -137,3 +137,17 @@ debugformat('options', options, 60) debugformat('options', options, 30) + + +fields = """ +Field lists give a simple two-column layout: + +:key: The whitespace following the key is + significant for the wrapping of this text. +:another key: More text. + The indentation on the following + lines is not significant. +""" + +debugformat('fields', fields, 60) +debugformat('fields', fields, 30)