diff options
| author | grubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2018-07-11 12:12:34 +0000 |
|---|---|---|
| committer | grubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2018-07-11 12:12:34 +0000 |
| commit | 1cd3fe2dd97e6965bb1bf7d235f690cc03b94c29 (patch) | |
| tree | ec0642b3b4e7bf82cdced36758cf0291055f1f77 | |
| parent | a06594bc575a98b7fef1734d5e228fc58c5ced25 (diff) | |
| download | docutils-1cd3fe2dd97e6965bb1bf7d235f690cc03b94c29.tar.gz | |
tests to inline literal open and close
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8223 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
| -rwxr-xr-x | test/test_parsers/test_rst/test_inline_markup.py | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/test/test_parsers/test_rst/test_inline_markup.py b/test/test_parsers/test_rst/test_inline_markup.py index 751eb9b9b..e3297f339 100755 --- a/test/test_parsers/test_rst/test_inline_markup.py +++ b/test/test_parsers/test_rst/test_inline_markup.py @@ -553,6 +553,36 @@ Python ``list``\s use square bracket syntax. list s use square bracket syntax. """], +[r""" +Blank after opening `` not allowed. +""", +"""\ +<document source="test data"> + <paragraph> + Blank after opening `` not allowed. +"""], +[r""" +no blank ``after closing``continues`` literal. +""", +"""\ +<document source="test data"> + <paragraph> + no blank \n\ + <literal> + after closing``continues + literal. +"""], +[r""" +dot ``after closing``. is possible. +""", +"""\ +<document source="test data"> + <paragraph> + dot \n\ + <literal> + after closing + . is possible. +"""], ] totest['references'] = [ |
